File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed
Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,15 @@ Enspire 的目标很简单,**Make CAS life easier for everyone**
1313
1414## 本地运行
1515
16- ### (可选) VSCode用户:设置Devcontainer
17- 1 . F1调出Command Palette,选择` Dev Containers: Clone Repository in Container Volume... `
18- 2 . 输入` https://github.com/computerization/enspire `
19- > 不建议` Reopen in Container ` ,Bind Mounted Volume会导致严重的IO性能问题。
16+ ### (可选) For Visual Studio Code
17+ <details >
18+ <summary >设置 Devcontainer</summary >
19+
20+ 1 . F1 调出 Command Palette,选择 ` Dev Containers: Clone Repository in Container Volume... `
21+ 2 . 输入 ` https://github.com/computerization/enspire `
22+
23+ > 不建议 ` Reopen in Container ` ,Bind Mounted Volume 会导致严重的IO性能问题。
24+ </details>
2025
2126### 安装依赖
2227
@@ -50,18 +55,22 @@ pnpm run dev
5055```
5156浏览器访问 ` http://localhost:3000 ` 即可。
5257
53- ### WebStorm 兼容性问题
54- #### pnpm & Prisma
58+ ### Troubleshooting
59+ <details >
60+ <summary >pnpm & Prisma 兼容性错误</summary >
5561
5662[ WebStorm] ( https://www.jetbrains.com/zh-cn/webstorm/ ) + [ pnpm] ( https://pnpm.io/zh/ ) + [ Prisma] ( https://www.prisma.io/ ) 目前存在兼容性问题,目前解决方式如下:
5763
5864- 每次更新 Prisma 后于左侧文件目录中查找 node_modules/.pnpm/@prisma +client@x.x.x
5965- 右键 > Mark Directory as > Not Excluded
66+ </details >
6067
61- #### ESLint 错误
62-
68+ < details >
69+ < summary >ESLint 错误</ summary >
6370如果您遇到 WebStorm 于代码窗口上提示 ` ESLint: Error: invalid Options ` ,请尝试将 WebStorm IDE 更新至最新版本。
6471
72+ </details >
73+
6574## 技术细节
6675
6776该项目主要依赖的库及平台如下:
You can’t perform that action at this time.
0 commit comments