Vite3 TS Vue3 Chrome 插件开发架手架

5 min read

Vite Crx Vue TS

Chrome extension development based on Vite & Vue & CRXJS & TypeScript.

Usage

$ npx degit keyding/vite-crx-vue-ts new-project

Preferred package manager is pnpm.

Install

# /new-project
pnpm install

Development

# The compiled directory is /dist/dev. 
# Then add the extension to Chrome
pnpm dev

Build

# build and zip. 
# The compiled directory is /dist/build. 
# The release directory is /releases
pnpm build
# bump version, build and zip.
# The release directory is /releases
pnpm release

Features

  • ✨ Vite
  • ✨ Vue 3
  • ✨ CRXJS
  • ✨ TypeScript