https://github.com/57code/codewave_lib_example
https://github.com/57code/codewave_lib_example
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/57code/codewave_lib_example
- Owner: 57code
- Created: 2024-10-11T09:30:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-31T11:43:29.000Z (about 1 year ago)
- Last Synced: 2025-07-05T18:12:35.227Z (6 months ago)
- Language: TypeScript
- Size: 603 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lcap Frontend Library Demo
## 安装
```
npm install
```
## 开发
```
npm start
```
或
```
npm run dev
```
## 添加组件
```
lcap create component
```
## 添加逻辑
```
lcap create logic
```
## 构建 & 发布
```
npm run build
```
构建完成后,将 `[packageName]@[packageVersion].zip` 文件上传到平台即可
## 修改构建配置
在根目录下创建 `vite.config.js` 文件即可,[配置文档](https://cn.vitejs.dev/config/)
## 相关资源
* 开发构建工具 [vite](https://vitejs.dev/)
* 单元测试工具 [vitest](https://cn.vitest.dev/guide/)
* UI demo 调试 [storybook](https://storybook.js.org/docs/get-started/install)