Skip to content

Commit c6d31aa

Browse files
committed
chore: update readme
1 parent 0659035 commit c6d31aa

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,30 @@ After cloning the repository, install the dependencies:
1212
yarn install
1313
```
1414

15-
You also need to have Netlify CLI installed:
15+
Launch the project with:
1616

1717
```bash
18-
yarn global add netlify-cli
18+
yarn dev
1919
```
2020

21-
## Development
21+
To have a preview in Chrome, you have to go to: [chrome://extensions/](chrome://extensions/), then enable Developer mode toggle.
2222

23-
```bash
24-
netlify dev
25-
```
23+
You can then load an unpacked extension by selecting the `dist` directory created.
24+
25+
The extension will be automatically reloaded each time you make a change thanks to HMR.
2626

27-
Then go to [http://localhost:8888](http://localhost:8888).
27+
## Build
2828

29+
To build the extension you have to run:
30+
31+
```bash
32+
yarn build
33+
```
2934

30-
## Build Setup
35+
and then:
3136

3237
```bash
33-
yarn generate
38+
yarn build-zip
3439
```
3540

36-
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).
41+
You will obtain a `zip` file inside `dist-zip` directory you can upload to the Chrome and Firefox webstore.

0 commit comments

Comments
 (0)