/vue3-boilerplate

This is a Vue3 boilerplate with Pinia, vue-router, and Vite 🚀

Primary LanguageVue

Vue 3 Boilerplate

This template should help get you started developing with Vue 3 in Vite + Some general requirements.

Extra Features

  • configured file-base structure
  • i18n plugin
  • event bus
  • some useful composable
  • layouts and configured router with loading indicator
  • general components

Note

utils folder contains utility functions or helper classes that provide generic functionality not directly tied to specific services or features.

services folder contains classes or modules that encapsulate functionality related to specific services or features within the application.

plug-in folder contains self-contained and encapsulated functionalities in a way that a package does or extend Vue core functionalities by adding global methods, components, directives and so on. if a functionality already exists project wide like a util or something just use it to avoid duplication otherwise put it inside the plugin.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint