dreamworks 前端vue3+vite项目开发模板
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.
 
 
 
 
 
maochaoying b95e48ff3b feature: 引入vue-router 2 years ago
.vscode feature: 初始化脚手架 2 years ago
public feature: 初始化脚手架 2 years ago
src feature: 引入vue-router 2 years ago
.env feature: 引入prettierrc并配置别名 2 years ago
.gitignore feature: 初始化脚手架 2 years ago
.prettierrc feature: 引入prettierrc并配置别名 2 years ago
README.md feature: 引入prettierrc并配置别名 2 years ago
index.html feature: 初始化脚手架 2 years ago
package.json feature: 引入vue-router 2 years ago
vite.config.js feature: 引入prettierrc并配置别名 2 years ago
yarn.lock feature: 引入vue-router 2 years ago

README.md

技术选型

  • 本项目采用的vue3 + vite + js脚手架搭建
  • 包管理工具为Yarn

代码规范

随着团队的不断扩大,每个人都有自己的coding风格,但是如果一个项目中的代码存在多种风格,那对于代码的可维护性和可读性都大大减少,所以说一个项目规范对于前端团队来说很重要。

Prettier

1、vscode插件 --- Prettier - Code formatter
2、.prettierrc文件