Code Monkey home page Code Monkey logo

pz-vue2-vite's Introduction

一个 vite + vue2 + ts 开箱即用现代开发模板

特点 🐳

  1. Vite 的

  2. Vue3 的写法

  3. TypeScript

  4. 支持图标自动导入

  5. Windi CSS

  6. pinia 状态管理

  7. 路径别名 ~ @ 支持

  8. 符合中小型项目代码规范

使用 🐂

  1. 安装依赖
pnpm install
  1. 开发
pnpm run dev
  1. 打包
pnpm run build
  1. TS类型检查
pnpm run tsCheck

5.Eslint检查

pnpm lint

6.项目预览

pnpm preview

优缺点

优点:

1.可使用完整的 Composition API

2.支持pinia,对于不习惯vuex的人来说

3.支持vue3的规范

缺点:vur-router 的使用体验和 2.0 的一样,与3.0的不同。

动机 🐗

为什么要集成这个项目呢?

如果你习惯了vue3的写法,vue2项目的配置不满意,想迁移到vue3,何不尝试下这个项目的配置讷



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.