Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hocgin/antd-starter
🔥 Antd for React 项目集成完全模版(支持ssr模式)
https://github.com/hocgin/antd-starter
antd ssr
Last synced: 2 days ago
JSON representation
🔥 Antd for React 项目集成完全模版(支持ssr模式)
- Host: GitHub
- URL: https://github.com/hocgin/antd-starter
- Owner: hocgin
- Created: 2019-07-23T00:15:52.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T09:49:27.000Z (10 months ago)
- Last Synced: 2024-12-18T19:10:54.343Z (about 2 months ago)
- Topics: antd, ssr
- Language: TypeScript
- Homepage: https://ant.design
- Size: 884 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# antd starter
> 快速构建,支持 SSR / 浏览器插件 / 纯静态 / qiankun 等多种部署开发方式。## 功能支持
- SSR 支持
- 浏览器插件开发(v3)支持
- 纯静态部署支持
- CDN 部署支持
- 微前端方案(qiankun)支持## 快速开始
Install dependencies,
```bash
$ yarn
```Start the dev server,
```bash
$ yarn start
```## 使用 SSR 模式部署
```shell
# 编译 -> ./dist
npm run build:prod.ssr# 部署
docker run -it \
-v ./dist:/usr/web/app/public \
-v ./dist/manifest.json:/usr/web/config/manifest.json \
-p 7001:7001 \
--name test \
--add-host=host.docker.internal:192.168.1.2 \
hocgin/docker-ssr:0.0.2
```## 相关文档
**目录**
- [浏览器插件](docs/浏览器插件开发.md)