通过快应用开发工具开发的快应用
之后想引入quist-ui 碰到问题
参考
https://github.com/JDsecretFE/quist-ui
先增加配置文件
根目录下config/webpack.config.js
引入
npm install quist-ui -D
通过开发工具生成的配置文件是本地的 可能版本问题 一直出现错误
修成之后 npm install
出现警告可以不用管 感觉不好看 可以更新下就行
之后 npm run watch
安装
npm i babel-core
之后继续 npm run watch
会出现报错
Requires Babel “^7.0.0-0”, but was loaded with “6.26.3”. If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn’t mention “@babel/core” or “babel-core” to see what is calling Babel.
大概意思就是版本低了 不兼容
直接
npm install babel-core@^7.0.0-bridge.0 @babel/core -D
在运行发现某问题了
如何还有问题参考
https://blog.youkuaiyun.com/mrzhangxianshengjs/article/details/85052272