|
hai 4 meses | |
---|---|---|
cypress | %!s(int64=2) %!d(string=hai) anos | |
docs | %!s(int64=3) %!d(string=hai) anos | |
public | %!s(int64=4) %!d(string=hai) anos | |
src | hai 4 meses | |
vetur | %!s(int64=4) %!d(string=hai) anos | |
.editorconfig | %!s(int64=3) %!d(string=hai) anos | |
.env.development | hai 4 meses | |
.eslintrc.js | %!s(int64=2) %!d(string=hai) anos | |
.gitignore | %!s(int64=2) %!d(string=hai) anos | |
.npmrc | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=3) %!d(string=hai) anos | |
components.d.ts | hai 1 ano | |
cypress.config.ts | %!s(int64=2) %!d(string=hai) anos | |
index.html | %!s(int64=3) %!d(string=hai) anos | |
package.json | hai 6 meses | |
pnpm-lock.yaml | hai 4 meses | |
postcss.config.js | %!s(int64=4) %!d(string=hai) anos | |
prebuild.mjs | %!s(int64=2) %!d(string=hai) anos | |
prettier.config.js | %!s(int64=3) %!d(string=hai) anos | |
tailwind.config.js | %!s(int64=3) %!d(string=hai) anos | |
tsconfig.json | %!s(int64=2) %!d(string=hai) anos | |
vetur.config.js | %!s(int64=4) %!d(string=hai) anos | |
vite.config.ts | hai 4 meses |
This template should help get you started developing with Vue 3 and Typescript in Vite.
VSCode + Vetur. Make sure to enable vetur.experimental.templateInterpolationService
in settings!
<script setup>
<script setup>
is a feature that is currently in RFC stage. To get proper IDE support for the syntax, use Volar instead of Vetur (and disable Vetur).
.vue
Imports in TSSince TypeScript cannot handle type information for .vue
imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in .vue
imports (for example to get props validation when using manual h(...)
calls), you can use the following:
Run Volar: Switch TS Plugin on/off
from VSCode command palette.
主要分为:CommonMarkBody.vue 前端切片渲染的组件,凡是评卷任务类型的都可以复用它来渲染(包含轨迹)。
src/features/student/studentInspect/MarkBody.vue 整卷渲染的组件,凡是不用前端切分的试卷都可以复用它来渲染(包含轨迹)。
以上组件的 reactivity 比较复杂,总结如下: