GithubHelp home page GithubHelp logo

lonelysnowman / sv3-template Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 1.0 252 KB

A vue.js 3.0 development template based on typescript and vite

License: MIT License

JavaScript 20.67% Shell 0.33% HTML 0.91% Vue 20.02% TypeScript 37.44% SCSS 17.79% Handlebars 2.84%

sv3-template's Introduction

sv3-template

SV3-Family
skill

📕详情文档

📖项目介绍

  • 快速开发Vue3项目的基础模板,配置常用路由及状态管理等工具,搭配简易Lint规范,加速基础项目开发。
  • 包含两个版本:main分支包含项目全部内容,thin分支剔除了登录示例及顶部路由菜单示例。

🚀快速开始

  • 推荐使用 pnpm 进行依赖管理
  • node 版本 ≥ 18
# 克隆仓库
git clone [email protected]:LonelySnowman/sv3-template.git

# 克隆 thin 版本
git clone -b thin [email protected]:LonelySnowman/sv3-template.git

# 进入项目根目录
cd sv3-template

# 安装依赖
pnpm install

# 启动项目
pnpm run dev
  • 项目提供命令行工具进行下载 | arceus-cli
# 安装依赖
npm install arceus-cli -g

# 创建模板
arceus create

⚓指令介绍

  • dev:本地运行项目
  • build:打包项目
  • preview:预览打包项目
  • gen:生成预设模板
  • lint:eslint:进行 eslint 校验
  • lint:prettier:进行 prettier 代码风格校验
  • lint:stylelint:对样式文件进行校验
  • lint:lint-stage:对 git 缓存区的内容进行代码风格与质量校验
  • prepare:初始化 husky

📻技术栈

  • 使用 Vite 进行项目构建
  • 使用 TypeScript
  • 使用 Sass 编写样式
  • 对 pinia,vue-router,axios 进行模块化封装
  • 使用 CommitLint,ESLint,StyleLint,Prettier,LintStage 进行团队项目规范
  • 使用 Mock.js 模拟数据
  • 使用 Plop 快速生成开发模板
  • 使用 ElementPlus 组件库
  • 支持 Iconify 图标库自动引入

sv3-template's People

Contributors

lonelysnowman avatar

Stargazers

 avatar 王東 avatar 小智 avatar Alan avatar  avatar  avatar 满堂花 avatar leeho avatar  avatar GoodMoney avatar Reginvolver avatar

Watchers

 avatar

Forkers

zjlasd

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.