We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我是用dva-cli创建项目,然后项目目录结构是这样的。 并没有你项目中的webpack.config.js文件。 我使用npm run build之后,把打包的dist文件夹下的文件放在nodejs服务上面,再访问的时候,antdesign的样式就丢失了。 请问楼主遇到我这样的问题了吗,如果要增加webpack.config.js文件,我该怎么编写这个文件(我把楼主的webpack.config.js文件增加到我的项目以后会报错)
The text was updated successfully, but these errors were encountered:
@Zuckjet 基于dva-cli创建的项目,它内置了自己封装的webpack构建工具,并提供一系列配置方法和命令。以前是ant-tool,现在是roadhog。如果你不想用它自带的构建工具,可以把它们删除,然后自己重新配置webpack。关于webpack的配置可参考国内中文社区的文档: https://webpack-china.org/
Sorry, something went wrong.
Thanks
No branches or pull requests
我是用dva-cli创建项目,然后项目目录结构是这样的。
![photo](https://github.com/Zuckjet/userManage/blob/master/pz.png)
并没有你项目中的webpack.config.js文件。
我使用npm run build之后,把打包的dist文件夹下的文件放在nodejs服务上面,再访问的时候,antdesign的样式就丢失了。
请问楼主遇到我这样的问题了吗,如果要增加webpack.config.js文件,我该怎么编写这个文件(我把楼主的webpack.config.js文件增加到我的项目以后会报错)
The text was updated successfully, but these errors were encountered: