GithubHelp home page GithubHelp logo

vue3-template's Introduction

vue3 + elementPlus 开发代码模板

一套基于 vue3 + elementPlus 的开发模板,包含了常用的功能,可以让您快速进行项目开发;

📢 版本信息

visitors

💡 特性

🌲 预配置

Icons

插件

🐴 编码风格

  • 使用 Composition API <script lang="ts" setup></script>
  • ESlint 规范配置为:单引号、无分号、缩进空格4个等
  • Prettier 代码格式化工具,查看 配置
  • 小驼峰式:函数(方法)命名、变量命名、文件名(目录)
  • 大驼峰式:公共组件名
  • 中划线式:html属性名、UI组件部分属性名
  • 下划线式:常量名、环境变量名

📖 项目结构

├── node_modules # 依赖
├── public # 根目录静态资源
├── src # 源码
│   ├── assets # 静态资源
│   ├── components # 公共组件
│   ├── layouts # 布局
│   ├── views # 页面
│   ├── stores # 状态管理
│   ├── composables # 组合API
│   ├── utils # 工具库
│   ├── styles # 全局样式
│   ├── main.ts # 入口文件
│   ├── types # 类型声明
├── index.html # 入口html
├──.env.development # 开发环境变量
├──.env.production # 生产环境变量
├──.eslintrc.js # eslint 配置
├──.gitignore # git 忽略文件
├──.prettierrc.json # prettier格式化配置
├── package.json # 项目依赖版本信息
├── pnpm-lock.yaml # pnpm 配置文件
├── tsconfig.json # typescript 配置
├── vite.config.ts # vite 配置
├── uno.config.ts # unocss配置
├── README.md # 项目英文描述文档
├── README.zh_CN.md # 项目中文描述文档
├── vitest.config.ts # vitest 配置

🐢 开发工具与插件推荐

项目安装

npm install

开发环境启动

npm run dev

生产环境构建

npm run build

Vitest 单元测试

npm run test:unit

ESLint 语法检查

npm run lint

Github Stats

GitHub stats

Trophy

trophy

vue3-template's People

Contributors

owen-devs avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.