深麻文书编辑器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
shengwen.chen 1e72f12edb
feat: 项目初始化
1 year ago
.vscode feat: 项目初始化 1 year ago
public feat: 项目初始化 1 year ago
src feat: 项目初始化 1 year ago
.editorconfig feat: 项目初始化 1 year ago
.eslintrc.js feat: 项目初始化 1 year ago
.gitattributes feat: 项目初始化 1 year ago
.gitignore feat: 项目初始化 1 year ago
.prettierrc.json feat: 项目初始化 1 year ago
README.md feat: 项目初始化 1 year ago
env.d.ts feat: 项目初始化 1 year ago
eslint.config.ts feat: 项目初始化 1 year ago
index.html feat: 项目初始化 1 year ago
package-lock.json feat: 项目初始化 1 year ago
package.json feat: 项目初始化 1 year ago
postcss.config.js feat: 项目初始化 1 year ago
tailwind.config.js feat: 项目初始化 1 year ago
tsconfig.app.json feat: 项目初始化 1 year ago
tsconfig.json feat: 项目初始化 1 year ago
tsconfig.node.json feat: 项目初始化 1 year ago
tsconfig.vitest.json feat: 项目初始化 1 year ago
vite.config.ts feat: 项目初始化 1 year ago
vitest.config.ts feat: 项目初始化 1 year ago

README.md

SMDocEditor

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint