|
|
il y a 2 ans | |
|---|---|---|
| public | il y a 2 ans | |
| scripts | il y a 2 ans | |
| src | il y a 2 ans | |
| .editorconfig | il y a 2 ans | |
| .gitignore | il y a 2 ans | |
| README.md | il y a 2 ans | |
| index.html | il y a 2 ans | |
| package.json | il y a 2 ans | |
| postcss.config.js | il y a 2 ans | |
| tailwind.config.js | il y a 2 ans | |
| vite.config.js | il y a 2 ans | |
| yarn.lock | il y a 2 ans |
客户端,vue3
// 检查你的node版本, 如果低于 14.18, 请先更新node.js
node -v
yarn 管理依赖如果电脑上还没有安装 yarn ,执行以下命令安装 yarn
npm install -g yarn
//或者
cnpm install -g yarn
然后在 此项目下 执行
yarn
// 或者
yarn install
yarn 的相关命令安装依赖
yarn add 依赖名
// 或者
yarn add -D 依赖名
检测依赖更新
yarn upgrade-interactive --latest
js-fast-way 文档
build:zip 为一键打包为zip的方式
build:zip:wgt 为一键打包为zip的方式(不包含 /public/plugins 文件夹)
build:test 为一键打包,然后自动上传到测试服务器上并自动部署的方式
build:test:wgt 为一键打包,然后自动上传到测试服务器上并自动部署的方式(不包含 /public/plugins 文件夹)
一般来说,/public/plugins 很少出现变动的情况。
在服务器上更新时,请注意,不要删除服务器上存在的 plugins,否则会出现异常。
如果本地 /public/plugins 文件夹 有变动,请使用 非 wgt 的打包方式