- node >= 16
- typescript
-
install cookiecutter
-
use cookitcutter generate project
cookiecutter https://github.com/qweasdzxcpkh/cookiecutter-browser-extension --directory="react"
if the
cookiecutter
command not found, maybe you need to use:python3 -m cookiecutter
-
open your directory and install(react sample)
cd {{ cookiecutter.project_slug }} npm install
-
start your work
-
build your extension
npm run build
extension build directory is default at dist/
-
load your extension at chrome://extensions
-
where is the manifest file?
A: Modify
public/manifest.json
and run build, will copy to dist/ directory. So was icon file etc.
- VUE version