mix-ui
WP 项目公共组件
Features
- vite 打包
- 支持按需加载
- 支持 vitest
Usage
The template contains the following scripts:
-
dev
- Start the development server -
build
- Build for production -
lint
- Checks your code for any linting errors -
test
- Run all tests -
test:coverage
- Run all tests with code coverage report -
test:ui
- Run all tests with code coverage report and show in browser
新增组件
- 复制_template 文件夹并重命名
- 执行 test 时可以添加文件夹名称来过滤: nr test button