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**
13
13
14
14
## 本地运行
15
15
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>
20
25
21
26
### 安装依赖
22
27
@@ -50,18 +55,22 @@ pnpm run dev
50
55
```
51
56
浏览器访问 ` http://localhost:3000 ` 即可。
52
57
53
- ### WebStorm 兼容性问题
54
- #### pnpm & Prisma
58
+ ### Troubleshooting
59
+ <details >
60
+ <summary >pnpm & Prisma 兼容性错误</summary >
55
61
56
62
[ WebStorm] ( https://www.jetbrains.com/zh-cn/webstorm/ ) + [ pnpm] ( https://pnpm.io/zh/ ) + [ Prisma] ( https://www.prisma.io/ ) 目前存在兼容性问题,目前解决方式如下:
57
63
58
64
- 每次更新 Prisma 后于左侧文件目录中查找 node_modules/.pnpm/
@prisma +
[email protected]
59
65
- 右键 > Mark Directory as > Not Excluded
66
+ </details >
60
67
61
- #### ESLint 错误
62
-
68
+ < details >
69
+ < summary >ESLint 错误</ summary >
63
70
如果您遇到 WebStorm 于代码窗口上提示 ` ESLint: Error: invalid Options ` ,请尝试将 WebStorm IDE 更新至最新版本。
64
71
72
+ </details >
73
+
65
74
## 技术细节
66
75
67
76
该项目主要依赖的库及平台如下:
You can’t perform that action at this time.
0 commit comments