npm安装stylus和stylus-loader

颛孙兴旺
2023-12-01

去到 package.json  dependencies 里面随便找个地方加上下面这两句话


"stylus-loader": "^3.0.1",
"stylus": "0.52.4",

然后去 cmd  运行

cnpm install  (npm install 一样的 我用了淘宝镜像)

√ Installed 45 packages
√ Linked 0 latest versions
√ Run 0 scripts
√ All packages installed (used 324ms, speed 8.9kB/s, json 1(2.88kB), tarball 0B)

就安装成功了

 类似资料: