Comments (12)
脚手架底层是create-react-app,使用的react-app-rewired进行个性化定制,你是想加一个css-modules吧,只要把现有的*.less写成*.module.less就行了,具体见react-app-rewire-less-modules,或者在react-app-rewired的loader里找其它的用用,但我不建议用css-modules,因为太麻烦,像这个工程里面这样写样式的话,其本也可以达到互不影响的目地。
from dva-boot-admin.
还有个问题我想把我的项目从roadhog转到这个脚手架上,但是start会内存溢出,roadhog确不会
from dva-boot-admin.
没用过roadhog,内存溢出的话可能性太多了,我用这个脚手架也做过一些项目了没发现溢出情况
from dva-boot-admin.
好像写成*.module.less也不行唉
from dva-boot-admin.
方便加个qq啥的 帮我看一眼吗 十分感谢
from dva-boot-admin.
我提交了一个使用less-modules的示例,查看代码,本地运行没问题,你可以参考一下。
from dva-boot-admin.
from dva-boot-admin.
兄弟。你看一下这个工程下的例子吧,这里面也用到mock了, config.js里会为每个请求增加一个前缀,你这个mock加个前缀'/api/apicurrentuser' 或在config里把前缀去了
from dva-boot-admin.
我没用你的request,你看我截图的 抓包的请求的url和mock的url是一样的,不知道为啥不行 必须得用你的request吗
from dva-boot-admin.
不知道你的项目改成什么样了,抱歉
from dva-boot-admin.
我就是ant design pro移植到你这个脚手架上
from dva-boot-admin.
暂时关闭了,有问题在开新贴吧
from dva-boot-admin.
Related Issues (20)
- dva-boot-admin HOT 2
- 编译之后,总共45MB HOT 1
- 启动太慢,大概一分钟才能看到界面 HOT 1
- 布局是标签模式事,输入地址/ 路由无法进行重定向到设置的indexRoute
- 表单提交问题 HOT 1
- create-template创建的simple工程无法代码跳转,尤其是第三方包 HOT 1
- Ripple按钮没有点击事件,这个按钮使用场景是?
- 标签页模式切换tab会导致url query丢失
- 如何加权限 HOT 1
- 请问这是最新代码吗?
- Select相关
- 这个框架怎么与qiankun融合搭建微前端项目,该项目如果成为主应用和微应用分别该如何配置,急急急
- help
- 使用Antd暗黑色主题 HOT 1
- 路由问题 HOT 1
- 下拉框没有正确响应鼠标滚动事件 HOT 1
- 项目启动报错,好几个错误,不知道为什么。。。。。 HOT 1
- column里面配了upload类型的表单项,如果不选择一个文件就不能提交表单了(upload表单项是非必填字段) HOT 1
- Tabs 模式下面,page 怎么关闭自己? HOT 2
- 启动错误 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dva-boot-admin.