File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,18 @@ $ npm run build
3030
3131Build the extension into ` dist ` folder for ** production** .
3232
33- ### ` npm run build:env `
33+ ### ` npm run build:dev `
3434
3535Build the extension into ` dist ` folder for ** development** .
3636
3737### ` npm run watch `
3838
3939Watch for modifications then run ` npm run build ` .
4040
41+ ### ` npm run watch:dev `
42+
43+ Watch for modifications then run ` npm run build:web ` .
44+
4145### ` npm run build-zip `
4246
4347Build a zip file following this format ` <name>-v<version>.zip ` , by reading ` name ` and ` version ` from ` manifest.json ` file.
Original file line number Diff line number Diff line change 55 "author" : " {{ author }}" ,
66 "scripts" : {
77 "build" : " cross-env NODE_ENV=production webpack --config webpack.config.js --progress --hide-modules" ,
8- "build:env " : " cross-env NODE_ENV=development webpack --config webpack.config.js --progress --hide-modules" ,
8+ "build:dev " : " cross-env NODE_ENV=development webpack --config webpack.config.js --progress --hide-modules" ,
99 "build-zip" : " node scripts/build-zip.js" ,
10- "watch" : " npm run build -- --watch"
10+ "watch" : " npm run build -- --watch" ,
11+ "watch:dev" : " npm run build:dev -- --watch"
1112 },
1213 "dependencies" : {
1314 {{#axios }}"axios" : " ^0.16.2" ,{{/axios }}
Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < title > Title</ title >
6+ < link rel ="stylesheet " href ="popup.css ">
67</ head >
78< body >
89 < div id ="app ">
Original file line number Diff line number Diff line change 1+ import PageIndex from './pages/Index.vue' ;
2+
13export default [
24 {
35 path : '/' ,
4- component : require ( './pages/Index.vue' )
6+ component : PageIndex
57 } ,
68] ;
You can’t perform that action at this time.
0 commit comments