/vue3-vite-ts-basic

基于vue3 vite ts 创建的基本工程,项目包含地图功能

Primary LanguageJavaScript

Vue 3 + Typescript + Vite

This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

Since 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 enable Volar's .vue type support plugin by running Volar: Switch TS Plugin on/off from VSCode command palette.

reference

  • 1、搭建项目参考:
https://juejin.cn/post/6972094589251354632
  • 2、编码规范,代码提交规范全家桶之 husky+lint-staged+commitlint
https://segmentfault.com/a/1190000040615432
  • 3、nuxt + eslint + prettier 保存自动格式化(无需配置.vscode/settings.json)
https://segmentfault.com/a/1190000040635066?utm_source=sf-similar-article
  • 4、前端规范之 Gti 工作流规范(Husky + Commitlint + Lint-staged)
https://www.cnblogs.com/Yellow-ice/p/15349873.html
  • 5、前端规范之 CSS 规范
https://www.cnblogs.com/Yellow-ice/p/15346883.html
  • 6、前端规范之 JS 代码规范(ESLint + Prettier)
https://www.cnblogs.com/Yellow-ice/p/15127392.html
  • 7、前端规范之 Git 提交规范(Commitizen)
https://www.cnblogs.com/Yellow-ice/p/15353900.html