Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jcanno/create-crx-app

CLI for create Chrome extension app
https://github.com/jcanno/create-crx-app

chrome chrome-extension cli

Last synced: 4 days ago
JSON representation

CLI for create Chrome extension app

Awesome Lists containing this project

README

        



CLI for create Chrome extension app

English|[简体中文](https://github.com/Jcanno/create-crx-app/blob/main/README.zh-CN.md)

we recommend to type code below in terminal with npm 5.2+ and higher:

```js
npx create-crx-app my-crx-app
cd my-crx-app
npm run dev
```

We can easily generate a Chrome extension project by using create-crx-app step by step.

Select your project framework:

Select your project language:

After that, create-crx-app will generate project by your setting.

## Start Extension

1. run `yarn run dev(React)` or `yarn run serve(Vue)` for developing Chrome Extension.
2. input and open `chrome://extensions/` in your Chrome search bar.
3. open `developer mode` in the top right corner in Extensions Page.
4. click `load unpacked extension project`, select the `dist` folder.

## Sample

Sample Extension will generate a purple button which can be moved in the bottom right corner in every page.

Click the extension icon and get the popup page, you can turn to options page here

Options page shows you can do everything here.

That's all Sample Extension do.