docs: 更新README.md和README.zh-CN.md文件

This commit is contained in:
XiaoDaiGua-Ray 2024-03-23 11:36:39 +08:00
parent 5c52f2f88c
commit 3e36144cf9
2 changed files with 18 additions and 0 deletions

View File

@ -52,6 +52,7 @@ A `completely free`, `efficient`, `feature complete` and based on vite5. x & ts(
- `SVG:` built-in svg icon solution
- `Hooks:` based on the template characteristics of the encapsulated hooks to make it easier to use some functions of the template
- `TypeScript:` provide a complete type
- `Vitest:` built-in vitest test solution
## 👀 Preview
@ -80,6 +81,7 @@ A `completely free`, `efficient`, `feature complete` and based on vite5. x & ts(
- [Mock.js](https://github.com/nuysoft/Mock) - mockjs basic syntax
- [Pinia](https://pinia.vuejs.org/zh/introduction.html) - state manager pinia usage
- [TSX](https://github.com/vuejs/babel-plugin-jsx/blob/main/packages/babel-plugin-jsx/README-zh_CN.md) - tsx basic syntax
- [Vitest](https://cn.vitest.dev/guide/) - vitest basic use
## 📦 Setup
@ -99,6 +101,13 @@ git clone https://mirror.ghproxy.com/https://github.com/XiaoDaiGua-Ray/ray-templ
pnpm i
```
### Test project
```sh
pnpm test
```
### Startup project
```sh

View File

@ -52,6 +52,7 @@
- `SVG`内置 svg icon 解决方案
- `Hooks`基于模板特性封装的 hooks 让你更加方便的使用模板一些功能
- `TypeScript`提供完整的类型
- `Vitest`内置 vitest 测试方案
## 👀 预览地址
@ -80,6 +81,7 @@
- [Mock.js](https://github.com/nuysoft/Mock) - mockjs 基本语法
- [Pinia](https://pinia.vuejs.org/zh/introduction.html) - 状态管理器 pinia 使用
- [TSX](https://github.com/vuejs/babel-plugin-jsx/blob/main/packages/babel-plugin-jsx/README-zh_CN.md) - tsx 基本语法
- [Vitest](https://cn.vitest.dev/guide/) - vitest 基本使用
## 📦 起步
@ -99,6 +101,13 @@ git clone https://mirror.ghproxy.com/https://github.com/XiaoDaiGua-Ray/ray-templ
pnpm i
```
### 测试项目
```sh
pnpm test
```
### 启动项目
```sh