import './common/stylus/index.styl'。如果想以common开头,需要在webpack.base.config.js中修改配置,增加common的配置: resolve: { extensions: ['.js', '.vue', '.json'], alias: { 'vue$': 'vue/dist/vue.esm.js', '@': resolve('src'), 'common': resolve('src/common') } },
import './common/stylus/index.styl'。
如果想以common开头,需要在webpack.base.config.js中修改配置,增加common的配置: