2022-08-16 14:00:05 +08:00
|
|
|
|
# Star-Web-Components
|
2022-08-09 11:11:37 +08:00
|
|
|
|
|
2022-08-16 15:44:33 +08:00
|
|
|
|
星光 Web 组件
|
2022-08-16 14:00:05 +08:00
|
|
|
|
|
|
|
|
|
## 拉取
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
git clone ssh://git@172.20.184.160:7999/yr/star-web-components.git
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 提交
|
|
|
|
|
|
|
|
|
|
从主线分支切出对应的 feature|bugfix|optimize 等关键词的分支。
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
git checkout -b feature-component-button master
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 示例运行
|
|
|
|
|
|
2022-08-16 15:44:33 +08:00
|
|
|
|
pnpm 是 npm 包管理领域一个新的、领先的包管理器。
|
2022-08-16 14:00:05 +08:00
|
|
|
|
|
2022-08-16 15:44:33 +08:00
|
|
|
|
若无 pnpm,请先进行全局安装及切换 npm 源至[国内镜像源](https://www.npmmirror.com/)。
|
2022-08-16 14:00:05 +08:00
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
pnpm install # 安装开发调试依赖包
|
|
|
|
|
pnpm vite # 使用vite运行示例
|
|
|
|
|
```
|