Skip to content

Repository files navigation

Vue 3 + TypeScript + Vite + Plugins

This robust, highly-automated boilerplate supports standard application development, NPM plugin development, Electron app creation, and Browser Extension building. It comes fully equipped with a unified CI/CD pipeline powered by semantic-release.

Setup Script

This project strictly relies on a CLI setup script to intelligently scaffold your architecture, build your GitHub Actions, and dynamically wire up your workspace.

Run the setup script to begin:

node .templateScripts/setup.cjs

Options

  1. Project Development: Scaffolds a standard frontend web application, configuring CI/CD hosting deployments based on your cloud provider of choice.
  2. Plugin Development: Scaffolds a new plugin (Vue UI Component Library, Vue Plugin, Vite Plugin, or generic TS Utility). Automatically configures workspace logic and NPM publishing pipelines.
  3. Electron App: Scaffolds an Electron desktop application setup and links it to a desktop-specific release pipeline.
  4. Browser Extension: Scaffolds a Chrome/Firefox/Edge extension setup.

Documentation Generation

During plugin development, the CLI will ask if you want to deploy documentation. If you opt-in:

  • The script dynamically injects an interactive VitePress documentation site into your new plugin's docs/ folder.
  • It seamlessly updates your publish_package.yml CI pipeline to deploy your docs to GitHub Pages immediately following a successful NPM package release!

Run npm run docs:dev inside your plugin folder to preview your site.

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages