More Premium Hugo Themes Premium Vue Themes

Vue Starter

基于 ` Vue 3 + TypeScript + Vite` ,及众多开源整合,构建 `Vue` 开发脚手架。帮助你进行 `Vue` 项目开发。使用 `Vitest` 进行单元测试。

Vue Starter

基于 ` Vue 3 + TypeScript + Vite` ,及众多开源整合,构建 `Vue` 开发脚手架。帮助你进行 `Vue` 项目开发。使用 `Vitest` 进行单元测试。

Author Avatar Theme by funnyzak
Github Stars Github Stars: 7
Last Commit Last Commit: Oct 25, 2023 -
First Commit Created: Apr 29, 2023 -
Vue Starter screenshot

Overview

The Vue Starteraction is a Vue development scaffold built using Vue3, TypeScript, and Vite. It aims to provide a streamlined and efficient environment for Vue project development.

Features

  • Typescript Support: The Vue Starteraction includes support for TypeScript, allowing developers to write type-safe code.
  • CSS Preprocessing: Developers can choose between using less, sass, or stylus for CSS preprocessing in their Vue projects.
  • WindiCSS: The Vue Starteraction integrates WindiCSS, a utility-first CSS framework, facilitating rapid UI development.
  • Locale Internationalization: The scaffold supports creating multi-language applications using locale internationalization.
  • Plop: With Plop, developers can define and generate commonly used script commands for their Vue projects.
  • Eslint Support: The Vue Starteraction includes eslint support to ensure code quality and conformity to coding standards.
  • Lint Staged Hook: Lint Staged Hook is utilized to run localized linting on staged files to prevent error propagation throughout the project.
  • Pinia State Management: The scaffold employs Pinia for state management, enabling efficient state handling in Vue applications.
  • Custom Permission Directives: Developers can use custom permission directives to control routes based on user permissions in their Vue projects.
  • Axios for API Requests: The Vue Starteraction utilizes Axios for making HTTP API requests in Vue applications.
  • JSX Syntax Support: JSX syntax is supported, allowing developers to utilize JSX in their Vue projects.
  • Animite.css Integration: The scaffold incorporates the Animite.css library for adding stylish animations to Vue components.
  • Vue Router with Code-based Route Control: The Vue Starteraction utilizes Vue Router to implement a route control system that can be customized based on user permissions.
  • Page Caching with keepAlive: The scaffold includes support for page caching using the keepAlive component, improving performance by reusing cached pages.
  • Unit Testing with Vitest: Developers can use Vitest, a testing framework, for writing and running unit tests in their Vue projects.
  • Utils and Common Functions: The Vue Starteraction provides a set of common utility functions that can be used in Vue applications.

Installation

Here is a guide to installing the Vue Starteraction:

  1. Make sure you have Node.js version 16 or higher installed on your system.
  2. It is recommended to use the VS Code editor in combination with the Volar extension for development.
  3. Clone the Vue Starteraction repository from GitHub.
  4. Install the required dependencies by running the following command in your terminal:
    npm install
    
  5. Customize the Babel config, eslint ignore file, tsconfig, npmrc, and gitignore files according to your project requirements.
  6. Set up the necessary configurations for EsLint, SFCS, and SFC setup.
  7. You can now start developing your Vue project using the Vue Starteraction scaffold.

Summary

The Vue Starteraction is a Vue development scaffold that leverages Vue3, TypeScript, and Vite to provide an efficient and streamlined environment for Vue project development. With its extensive list of features, including support for TypeScript, CSS preprocessing, internationalization, testing, state management, and more, the Vue Starteraction aims to enhance the development process for Vue projects. By following the installation guide, developers can quickly set up the scaffold and start building their Vue applications with ease.