You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-19Lines changed: 9 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,21 +7,20 @@
7
7
8
8
I highly recommend you to try [Poi](https://github.com/egoist/poi), you can develop Vue.js app with no-config until you need it. Less boilerplate code, more happiness ❤️
9
9
10
-
11
10
Here's the plan for [VuePack 4.0](https://github.com/egoist/vuepack/issues/136), you can support my work by [donating](https://github.com/egoist/donate) or joining the development.
12
11
13
12
## Features
14
13
15
14
- Vue 2 / Vue-router / Vuex
16
15
- Hot reloading for single-file components
17
16
- Split vendor code from your app
18
-
- Webpack 2
17
+
- Webpack 2 (an update to Webpack 4 will be very soon)
19
18
-[Offline Ready, perfect for progressive web app](/docs/pwa.md)
20
19
-[ESLint](/docs/eslint.md)
21
20
-[Babel 6](/docs/babel.md)
22
21
-[PostCSS](/docs/postcss.md)
23
22
-[JSX components are supported by default](/docs/jsx.md)
24
-
-[TestCafe](/docs/testcafe.md)
23
+
-[TestCafe](/docs/testcafe.md) (optional)
25
24
-[Electron support](/docs/electron.md) (optional)
26
25
-[CSS modules](/docs/css-modules.md) (optional)
27
26
- A boilerplate which is small and focusing on client-side apps
@@ -32,35 +31,26 @@ Check out [the docs](https://github.com/egoist/vuepack/tree/master/docs) for mor
32
31
33
32
## Get Started
34
33
35
-
You'd better have `node >=4` and `npm >=3` installed:
34
+
You'd better have `node >=10` and `npm >=6` installed:
36
35
37
36
## sao
38
37
39
-
This template can be used with [sao](https://github.com/egoist/sao), which also means you can use the template offline:
38
+
This template can be used with [SAO](https://github.com/egoist/sao), which also means you can use the template offline:
40
39
41
40
```bash
42
-
yarn global add sao
41
+
npm i -g sao jstransformer-handlebars
43
42
# from npm
44
43
sao vuepack new-project
45
44
# or git repo
46
45
sao egoist/vuepack new-project
47
46
```
48
47
49
-
## vue-cli
48
+
## Vue CLI
50
49
50
+
Vue CLI (`vue-cli@2` or `@vue/cli@>=3` + `@vue/cli-init`) is still supported, but it has been deprecated by Vue officially, so it is not recommended to use Vue CLI with Vuepack.
51
51
```bash
52
-
$ npm install -g vue-cli
53
-
$ vue init egoist/vuepack new-project
54
-
$ cd new-project
55
-
$ npm install
56
-
57
-
# edit files and start developing
58
-
$ npm run dev
59
-
# bundle all scripts and styles for production use
0 commit comments