javascript - webpack import stylus is treated as a dependency, how to solve it
巴扎黑
巴扎黑 2017-05-18 11:01:13
0
1
747

Operation like this

import  'assets/stylus/index.styl';

Error reporting

 ERROR  Failed to compile with 1 errors                                                                                                                            
 This dependency was not found:
* assets/stylus/index.styl in ./src/main.js
To install it, you can run: npm install --save assets/stylus/index.styl

Make sure that stylus-loade has been installed, using vue-cli scaffolding development, but something went wrong

巴扎黑
巴扎黑

reply all(1)
为情所困

Have you installed stylus? Please reinstall it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!