@bagevent/less
v1.0.80
Published
```shell # 确保安装了Node # 安装 Yarn (有的话跳过) npm install -g yarn # 安装 less yarn global add less # 安装 clean-css Plugin yarn global add less-plugin-clean-css # 项目初始化 yarn install ```
Downloads
178
Readme
Quick Start
# 确保安装了Node
# 安装 Yarn (有的话跳过)
npm install -g yarn
# 安装 less
yarn global add less
# 安装 clean-css Plugin
yarn global add less-plugin-clean-css
# 项目初始化
yarn install
相关命令
# 编译
lessc --clean-css ./src/index.less ./dist/index.css
# 登录npm
yarn login
# 发布包
yarn publish
# 整合命令 (等于上面三个命令+提版本命令+清空dist命令),报错了就是没登录 npm,yarn 登录不上请使用 npm login, npm adduser 命令。
yarn run cap
# 更新后需要在使用的项目执行更新包命令
yarn upgrade @bagevent/less
npm update @bagevent/less