This dependency was not found: * common/stylus/index.styl in ./src/main.js问题解决
程序员文章站
2022-07-07 11:28:39
出现
this dependency was not found:
* common/stylus/index.styl in ./src/main.js
to install it...
出现
this dependency was not found: * common/stylus/index.styl in ./src/main.js to install it, you can run: npm install --save common/stylus/index.styl
的解决办法是 在
build\webpack.base.conf.js
将 resolve添加
resolve: { extensions: ['.js', '.vue', '.json'], alias: { 'vue$': 'vue/dist/vue.esm.js', '@': resolve('src'), 'common': resolve('src/common') } },
上一篇: iPad mini 6最新渲染图曝光:8.4寸全面屏
下一篇: jQuery.each()用法分享