feat: 升级midway,支持esm

This commit is contained in:
xiaojunnuo
2024-07-15 00:30:33 +08:00
parent 970c7fd8a0
commit 485e603b51
246 changed files with 3821 additions and 1532 deletions
+2 -14
View File
@@ -1,22 +1,15 @@
# fast-server-js
base on midway
# my_midway_project
## QuickStart
> nodejs需要16以上
<!-- add docs here for user -->
see [midway docs][midway] for more detail.
### Development
```bash
$ npm i
# 如果遇到sqlite安装失败时
# 建议使用cnpm
# npm install -g cnpm
# cnpm install
$ npm run dev
$ open http://localhost:7001/
```
@@ -34,8 +27,3 @@ $ npm start
[midway]: https://midwayjs.org
see [midway docs][ https://midwayjs.org] for more detail.