Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.34 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.34 KB

Vite Crx Vue

Chrome extension development template based on Vite, Vue.js and rollup-plugin-chrome-extension.

Usage

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

Preferred package manager is pnpm, but npm or Yarn should work.

Install

# /new-project

# pnpm (recommend)
pnpm install

# npm
npm install

# yarn
yarn install

Development

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

Build

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

Features

For more please refer to Vite, Vue.js and rollup-plugin-chrome-extension.

🙏 Thank to Vite, Vue.js and rollup-plugin-chrome-extension.