一、安装stylus npm install stylus stylus-loader --save-dev 二、有两种使用方法:一种是直接写在.vue文件的style块中,一种是通过引用.styl文件的形式。