- clone
git clone https://github.com/ueiheng/vue3-chrome-extension-demo.git
- install
npm i
- build
npm run build
-
Load the unzipped extension in your browser.
-
All you need to do is use the
npm run build
command every time you finish writing your code, and the browser plugin will automatically reload. -
If you want to automate packaging after you've written code, maybe
vite-plugin-watch
can help you.
https://www.npmjs.com/package/vite-plugin-watch
🚀 you can easily use http://localhost:5173/
to see vue page, Debugging just like we would with a Vue project.
After confirmation, package to see the effect of the plug-in
If it helps you, a star⭐ is the best.