Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eyebluecn/bamboo-front
Front of eyeblue blog.
https://github.com/eyebluecn/bamboo-front
Last synced: 14 days ago
JSON representation
Front of eyeblue blog.
- Host: GitHub
- URL: https://github.com/eyebluecn/bamboo-front
- Owner: eyebluecn
- Created: 2020-02-23T12:02:57.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T14:23:02.000Z (about 2 years ago)
- Last Synced: 2024-11-07T10:29:30.335Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 3.28 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bamboo-front
### nodejs
项目使用nodejs构建,首先安装Nodejs,安装了nodejs后,npm会自动安装。### cnmp
在国内使用npm比较慢,推荐使用cnpm
```shell script
npm install -g cnpm
```### 安装依赖库
切换到项目根目录
```shell script
cnpm install
```### 启动项目
```shell script
npm run start
```### 验证
在浏览器中打开 `http://localhost:6025/` 可以看到页面。
值得注意的时,后端运行在`http://localhost:6020/`,通过代理的方式
避免了跨域。### 打包
执行,以下命令,会生成`build`文件夹,将这个文件夹中的内容复制到后端项目的`api/front`文件夹中即可!
```shell script
npm run build
```