ElementPlus Vite Starterkit

screenshot of ElementPlus Vite Starterkit

ElementPlus Vite Starterkit

A lightweight, ready-to-go front-end solution for admin interfaces based on Vue 3, Vite 2 and ElementPlus.


ElementPlus-Vite-Starterkit is a lightweight and ready-to-go front-end solution for creating admin interfaces. It is based on Vue 3, Vite 2, and ElementPlus. This starter kit provides developers with a set of tools and libraries to quickly develop admin interfaces with ease.


  • Vue 3: Built on the latest version of Vue, taking advantage of its enhanced features and performance improvements.
  • Vite 2: Utilizes Vite, a fast and lightweight development server that offers instant hot module replacement (HMR) and optimized production builds.
  • ElementPlus: Integrates ElementPlus, a Vue 3 UI library that provides a wide range of components and ready-to-use styles for quick and easy UI development.


To install and set up the ElementPlus-Vite-Starterkit, follow these steps:

  1. Ensure you have the recommended IDE, which is VSCode, installed on your system.
  2. Install the Vetur extension for VSCode. This extension provides enhanced support for Vue files in the IDE.
  3. Enable the vetur.experimental.templateInterpolationService setting in the VSCode settings. This will ensure proper IDE support for the template syntax.
  4. If you prefer to use the <script setup> feature, which is currently in the RFC stage, it is recommended to use the Volar extension instead of Vetur. Disable Vetur if you choose to use Volar.
  5. If you want to have type support for .vue imports in TypeScript, follow the appropriate steps based on your choice of extension:
    • If using Volar, go to the VSCode command palette and run "Volar: Switch TS Plugin on/off" to enable the plugin.
    • If using Vetur, install the @vuedx/typescript-plugin-vue package and add it to the plugins section in your tsconfig.json. You can also delete the src/shims-vue.d.ts file, as it is no longer needed for providing module info to TypeScript.
  6. Open the src/main.ts file in VSCode.
  7. In the VSCode command palette, search for "Select TypeScript version" and choose "Use workspace version" to ensure that the correct TypeScript version is being used.


ElementPlus-Vite-Starterkit is a highly efficient and ready-to-use front-end solution for creating admin interfaces. With support for the latest versions of Vue and Vite, as well as integration with the ElementPlus UI library, developers can leverage these powerful tools to rapidly build admin interfaces with clean and intuitive code. By following the installation guide, developers can easily set up the starter kit and benefit from its extensive features and performance optimizations.


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


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


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.