使用vue-cli建立的工程,在style使用lang="stylus"时总报错,即使已经导入stylus-loader包。错误提示如下:
Module build failed: TypeError: /Users/xxx/wspace/xxproject/src/views/list.vue:9:1
5|
6|
7| .my-component h2
8| color red
9|
------^
Path must be a string. Received undefined