This template should help you quickly create a Vue 3 project based on Vite, using TypeScript as the development language by default.
这个模板应该能帮你快速创建一个基于 Vite 的 Vue 3 项目,默认使用 TypeScript 作为开发语言。
You can use a tool like create-preset to scaffold your project with this template.
你可以使用 create-preset 之类的工具通过此模板来搭建你的项目。
npm create preset
Why not use create-vite to generate the basic template of the project?
Because the basic template only has the simplest basic configuration, and the actual production project requires a lot of additional tool dependencies to improve development efficiency.
为什么不使用 create-vite 来生成项目的基础模板?
因为基础模板只有最简单的配置,而实际生产的项目里,需要很多额外的提高开发效率的工具依赖。
If you are not very familiar with Vue 3 and TypeScript, or even have no contact at all, don’t worry, I have compiled an introductory guide, suitable for developers who do not have Vue 3 development experience to read, a book written based on the development process of a project , It is recommended to read and coding at the same time.
Btw: Currently only Chinese version, it is recommended to read through Google Translate with Chrome.
See: Learning Vue3
如果你对 Vue 3 和 TypeScript 不是很熟悉,甚至完全没有接触过,不用担心,我整理了一个入门指南,适合没有 Vue 3 开发经验的开发者阅读,以一个项目的开发过程来写的一本书,建议一边 Reading ,一边 Coding 。
点击阅读:Vue3入门指南与实战案例