mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-18 11:28:10 +00:00
修改说明
This commit is contained in:
parent
67c3da7347
commit
ab2ed7d159
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
#### 修改数据库配置,配置文件位于`src/config/config.local.ts`
|
#### 修改数据库配置,配置文件位于`src/config/config.local.ts`
|
||||||
|
|
||||||
数据库为mysql(`>=5.7版本`),首次启动会自动初始化并导入数据
|
数据库为mysql(`>=5.7版本`),node版本(`>=12.x`),首次启动会自动初始化并导入数据
|
||||||
|
|
||||||
```js
|
```js
|
||||||
config.orm = {
|
config.orm = {
|
||||||
@ -72,7 +72,7 @@ $ npm run dev
|
|||||||
$ open http://localhost:8001/
|
$ open http://localhost:8001/
|
||||||
```
|
```
|
||||||
|
|
||||||
注: 如果你的网络不佳可以尝试使用[cnpm](https://developer.aliyun.com/mirror/NPM?from=tnpm),或者切换您的镜像源
|
注: `npm i`如果安装失败可以尝试使用[cnpm](https://developer.aliyun.com/mirror/NPM?from=tnpm),或者切换您的镜像源
|
||||||
|
|
||||||
## CURD(快速增删改查)
|
## CURD(快速增删改查)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user