0.0.1 • Published 2 years ago

fast-share-bricksx v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

fast-share-bricks

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

添加 jest 配置

vue add unit-jest

会自动生成 jest.config.js 和 /tests/ 目录 自动 安装 @types/jest vue-jest @vue/cli-plugin-unit-jest @vue/test-utils 依赖包

yarn test:unit -- --watch

change git username

git config user.name | email

本地 link 测试

cd fast-share-bricks
npm link
创建一个全局 node 环境软连接

cd 目标路径
npm link fast-share-bricks

npm remove link 用于删除

增加 ts 支持