-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme
70 lines (44 loc) · 1.69 KB
/
readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
==================== distribute
==================== generate
========================================
==================== distribute
https://electronjs.org/docs/tutorial/application-distribution
electron command line args - call electron without arg, i.e.
> node_modules/.bin/electron
ethereum wallet block database
~/Library/Ethereum/geth/chaindata
==================== generate
nas-wallet
generated by vue cli, steps to reproduce
vue init webpack nas-wallet
? Project name nas-wallet
? Project description generated by vue cli
? Author wangzimei <[email protected]>
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? No
? Set up unit tests No
? Setup e2e tests with Nightwatch? No
? Should we run `npm install` for you after the project has been created? (recommended) npm
clear nas-wallet/src/ folder
nas-wallet/index.html -> nas-wallet/src/index.html
nas-wallet/build/webpack.base.conf.js
app: './src/main.js' -> app: './src/index.js'
nas-wallet/build/webpack.dev.conf.js
nas-wallet/build/webpack.prod.conf.js
template: 'index.html' -> template: 'src/index.html'
Webpack 4
https://github.com/vuejs-templates/webpack/issues/1280
Just some notes about my attempt to upgrade to webpack 4
https://gist.github.com/gricard/e8057f7de1029f9036a990af95c62ba8
# build setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
```
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).