tianlikai / mobxspa Goto Github PK
View Code? Open in Web Editor NEW企业级SPA项目,完整开发脚手架
企业级SPA项目,完整开发脚手架
使用nginx指向 npm run build的dist路径后出现下面这个错,能帮看下吗
vendors.78c603f1.dll.js:17 ReferenceError: G is not defined
at render (main.8609896d.chunk.js:1)
at t.render (react.4b575fcb.dll.js:30)
at Ua (vendors.78c603f1.dll.js:17)
at Da (vendors.78c603f1.dll.js:17)
at yu (vendors.78c603f1.dll.js:17)
at cl (vendors.78c603f1.dll.js:17)
at ul (vendors.78c603f1.dll.js:17)
at Zu (vendors.78c603f1.dll.js:17)
at Ku (vendors.78c603f1.dll.js:17)
at Ll (vendors.78c603f1.dll.js:17)
nginx config
server {
listen 5001;
root /path/to/mobxSpa/dist;
index index.html index.htm;
location / {
try_files $uri /index.html =404;
}
}
在表格页-》查询表格 查询列表以后 点击查看详情以后页面跳转,但是导航栏的详情页=> 基础详情页 并没有高亮选中
In mocker/index.js, proxy like '/__api/8/user/login' is easy to understand, since the baseUrl is '__api' and url is '/8/user/login'.
But I feel puzzled about 'table' as the prefix of '/table/__api/11/promotion/getPromotionList'.
大哥好厉害
如何使用css-modules 配置了 css-modules 但是报错了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.