Giter VIP home page Giter VIP logo

jxlvueh5tpl's Introduction

我的 Vue 3 + TypeScript + Vite 模板

一、技术栈

  • 编程语言:TypeScript 4.x + JavaScript
  • 构建工具:Vite 2.x
  • 前端框架:Vue 3.x
  • 路由工具:Vue Router 4.x
  • 状态管理:Vuex 4.x
  • H5 端 UI 框架:vant
  • CSS 预编译:Stylus / Sass / Less
  • HTTP 工具:Axios
  • Git Hook 工具:husky + lint-staged
  • 代码规范:EditorConfig + Prettier + ESLint + Airbnb JavaScript Style Guide
  • 提交规范:Commitizen + Commitlint
  • 单元测试:vue-test-utils + jest + vue-jest + ts-jest
  • 自动部署:GitHub Actions

git husky 配置

  1. 安装脚本 husky.sh
npm install prepare
  1. 配置
git config core.hooksPath .husky
chmod 700 .husky/*
# chmod +x .husky/pre-commit
  1. 提交例子:
git commit -m "chore: updated md.json"
git commit -m  "fix(server): send xxxx"
git commit -m "feat(blog): add comment section"

CSS Module

  1. 需要 css-loader
  2. 文件命名 xxx.module.scss xxx.module.css

jxlvueh5tpl's People

Contributors

jxlust 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.