Vite Vue3 H5 Template

screenshot of Vite Vue3 H5 Template
vite
vue
scss

基于 vite2 + Vue3.2 + ts + pinia 的h5基础模版

Overview

This product is a basic template built with Vite2, Vue3.2, TypeScript, Pinia, mock, sass, vantUI, and viewport adaptation. It also includes features such as axios encapsulation, multiple environment variable configuration, alias configuration, global Sass styling, Vue-router, Pinia state management, mock data usage, proxy configuration, static resource usage, Axios encapsulation and API management, viewport adaptation, and more.

Features

  • Vue3.2 + TypeScript + Pinia + mock + sass + vantUI + viewport adaptation + axios encapsulation
  • Fast development startup, hot-reloading, and packaging speeds compared to Vue-cli
  • Multiple environment variable configuration
  • Alias configuration for easy import
  • Global Sass styling
  • Vue-router integration
  • Pinia state management
  • Mock data usage
  • Proxy configuration
  • Static resource usage
  • Axios encapsulation and API management
  • Viewport adaptation
  • Apple bottom safe distance adaptation
  • Dynamic title setting
  • Jssdk configuration
  • Eslint + Prettier development rules
vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

scss
SCSS

SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.