vue-cli-plugin-styleguidist使用

2020-11-06  本文已影响0人  BULL_DEBUG

文档:https://vue-styleguidist.github.io/
1、使用脚手架cli 3
2、项目中执行脚本

vue add styleguidist

注意:可能出现

error eslint@6.8.0: The engine "node" is incompatible with this module. Expected version "^8.10.0 || ^10.13.0 || >=11.10.1". Got "10.8.0"

这样版本不兼容的问题
解决问题:

yarn config set ignore-engines true   

执行之后成功下载;
3、 执行脚本 :yarn styleguide 查看页面

上一篇 下一篇

猜你喜欢

热点阅读