Skip to content

brtr/twitter-plugin

Repository files navigation

x-chrome-ext

a chrome extension tools built with Vite + Vanilla-js, and Manifest v3

Installing

  1. Check if your Node.js version is >= 14.
  2. Change or configurate the name of your extension on src/manifest.
  3. Run pnpm install to install the dependencies.

Developing

run the command

$ cd x-chrome-ext

$ pnpm run dev

Chrome Extension Developer Mode

  1. Open chrome://extensions/ in your browser
  2. set your Chrome browser 'Developer mode' up
  3. click 'Load unpacked', and select x-chrome-ext/build folder

Nomal FrontEnd Developer Mode

  1. access http://0.0.0.0:3000/
  2. when debugging popup page, open http://0.0.0.0:3000//popup.html
  3. when debugging options page, open http://0.0.0.0:3000//options.html

Packing

After the development of your extension run the command

$ npm run build

Now, the content of build folder will be the extension ready to be submitted to the Chrome Web Store. Just take a look at the official guide to more infos about publishing.


Generated by create-chrome-ext