Skip to content

Reddevildragg/Vue_Template_Project

Repository files navigation

Vue 3 + TypeScript + Vite + Plugins

This template supports both standard application development and plugin development.

Project Structure

  • src/: Main application source code.
  • plugins/: Directory for developing plugins.

Setup Script

This project includes a setup script to help you configure the environment for either Project Development or Plugin Development.

Run the setup script:

node .templateScripts/setup.cjs

Options

  1. Project Development: Can remove example plugins and cleanup main.ts.
  2. Plugin Development: Scaffolds a new plugin in the plugins/ directory and optionally adds it to src/main.ts.

Plugin Development

Plugins reside in the plugins/ directory. Each plugin should be a folder containing at least:

  • index.ts: The entry point exporting a Vue install function.
  • package.json: Plugin metadata.

The template is configured to alias @plugins to the plugins/ directory.

Example Plugin

See plugins/example-plugin for a reference implementation.

Recommended IDE Setup

VS Code + Volar (and disable Vetur).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •