npm install stylus@0.54.7 stylus-loader@3.0.2 `` stylus和stylus-loader版本不兼容 開(kāi)始yarn add安裝了stylus,自動(dòng)依賴的是5.0.0的loader啟動(dòng)會(huì)報(bào)錯(cuò), 1 2 "stylus":"^0.54.8", "stylus-loader":"^5.0.0", 然后換成了下loader的版本就可以了 1 2 "stylus":"^0.54.8", "stylus-loader":"^3.0.2"...
www.dbjr.com.cn/article/2576...htm 2025-6-9