如果我的main.js是這樣的話(./common/stylus/index有文件)import Vue from 'vue'import App from './App'import './common/stylus/index'/* eslint-disable no-new */new Vue({ el: '#app', render: h => h(App)})報的錯是這樣的ERROR Failed to compile with 1 errors 16:35:02This dependency was not found:* common/stylus/index in ./src/main.jsTo install it, you can run: npm install --save common/stylus/index所以說我不知道如何在js文件中引入stylus文件····
使用的是vue-cli腳手架構建項目,請問如何在js文件中引入sytlus文件?
元芳怎么了
2018-12-13 16:15:23