如果我的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)})報(bào)的錯(cuò)是這樣的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所以說(shuō)我不知道如何在js文件中引入stylus文件····
使用的是vue-cli腳手架構(gòu)建項(xiàng)目,請(qǐng)問(wèn)如何在js文件中引入sytlus文件?
元芳怎么了
2018-12-13 16:15:23