我试着在qazxsw poi文件中使用手写笔
test.vue
但失败了。
let stylus = require('stylus')
console.log(stylus)
我触摸了一个新的This dependency was not found:
* fs in ./~/.0.54.5@stylus/lib/utils.js, ./~/.0.54.5@stylus/lib/middleware.js and 12 others
To install it, you can run: npm install --save fs
This relative module was not found:
* ./lib-cov/stylus in ./~/.0.54.5@stylus/index.js
文件并要求('stylus'),它没关系。太干脆了。
test.js
任何帮助将不胜感激,谢谢。
Stylus javascript API无法在浏览器中运行,因为它取决于NodeJs的fs模块:"vue": "^2.3.3",
"stylus": "^0.54.5",