Skip to content
New issue

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 0.9.2新建dva项目的时候 package.json中devDependencies问题 #152

Open
JarVan007 opened this issue Apr 24, 2018 · 0 comments

Comments

@JarVan007
Copy link

新手,之前都是跟着别人打的项目做的,这次打算自己试着搭建一下,但是通过dva-cli搭建dva项目的时候package.json中devDependencies里面怎么只有一个babel-plugin-dva-hmr,我对比了一下dva1.0搭建的那个user-dashboard,中的package.json中 缺少了babel-eslint,babel-plugin-import,babel-plugin-transform-runtime这几个东西,因为我配置antd CSS的时候报错缺少了babel-plugin-transform-runtime,我想问一下现在dva-cli创建dva项目这些是需要自己手动添加吗?还是我哪个地方弄错了?添加的话是手动添加到package.json中然后重新npm install么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant