File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -12,25 +12,30 @@ After cloning the repository, install the dependencies:
12
12
yarn install
13
13
```
14
14
15
- You also need to have Netlify CLI installed :
15
+ Launch the project with :
16
16
17
17
``` bash
18
- yarn global add netlify-cli
18
+ yarn dev
19
19
```
20
20
21
- ## Development
21
+ To have a preview in Chrome, you have to go to: [ chrome://extensions/ ] ( chrome://extensions/ ) , then enable Developer mode toggle.
22
22
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.
26
26
27
- Then go to [ http://localhost:8888 ] ( http://localhost:8888 ) .
27
+ ## Build
28
28
29
+ To build the extension you have to run:
30
+
31
+ ``` bash
32
+ yarn build
33
+ ```
29
34
30
- ## Build Setup
35
+ and then:
31
36
32
37
``` bash
33
- yarn generate
38
+ yarn build-zip
34
39
```
35
40
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 .
You can’t perform that action at this time.
0 commit comments