Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #208

Open
wants to merge 116 commits into
base: dev
Choose a base branch
from
Open

Dev #208

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
d64f070
charts: hidden canvas-gauges
fundon Oct 17, 2016
9bdfb22
router: switch to hash mode
fundon Oct 17, 2016
0e35c01
Bump v0.1.7
fundon Oct 17, 2016
d7d6a2a
Electron : run as a desktop app
kartsims Oct 19, 2016
353dcda
webpack: fix the public path for loading fonts in electron
fundon Oct 19, 2016
a42f735
add yarn
fundon Oct 20, 2016
fbaed1a
lint: build
fundon Oct 20, 2016
31fab38
pkg: vue-bulma-quill v0.0.1
fundon Oct 20, 2016
ae10873
Modal: add a link to CardModal, close #77
fundon Oct 23, 2016
3bdafc1
pkg: vue-nprogress v0.1.2, vue-bulma-progress-tracker v0.0.4
fundon Oct 23, 2016
6352f76
webpack: fix missing static resources for online demo
fundon Oct 24, 2016
fb9f1bd
Bump v0.1.8
fundon Oct 25, 2016
3c922a3
deps: font-awesome v4.7.0, vue-bulma-collapse v1.0.3
fundon Oct 26, 2016
b4b1bc3
Lory: responsiveness
fundon Oct 26, 2016
4d2253e
deps: vue-lory v0.0.4
fundon Oct 26, 2016
a4e0d84
deps: vue v2.0.5
fundon Nov 7, 2016
dbb5297
Bump v0.1.9
fundon Nov 7, 2016
2d7e254
Import opn for dev-server
luventa Nov 7, 2016
530c350
Vuex: refactor of vuex store
luventa Nov 8, 2016
d460f8e
yarn: update
fundon Nov 9, 2016
4be68d8
ddeps: electron v1.4.6, webpack-hot-middleware v2.13.2
fundon Nov 10, 2016
8800a5a
ddeps: autoprefix v6.5.2, postcss-loader v1.1.1
fundon Nov 11, 2016
bb739eb
ddeps: eslint v3.10.0, eslint-plugin-promise v3.3.2, node-sass v3.11.3
fundon Nov 12, 2016
15160e7
ddeps: webpack v2.1.0-beta.26, vue-loader v9.9.0
fundon Nov 14, 2016
a52afbb
Update webpack to v2.1.0-beta.26
hnakamur Nov 15, 2016
b82e963
deps: vue-routee v2.0.2
fundon Nov 15, 2016
bd48751
ddeps: update
fundon Nov 16, 2016
3d9765f
doc: update links
fundon Nov 16, 2016
8453a31
deps: vue v2.0.7
luventa Nov 19, 2016
df1a6ac
FooterBar: add left margin
florentsuc Nov 16, 2016
39ae93c
deps: vue v2.0.8
luventa Nov 21, 2016
5fe92e2
Bump v0.1.10
fundon Nov 22, 2016
6a68c94
Bump v0.1.11
fundon Nov 26, 2016
4b5a2dc
ci: remove node v4
fundon Nov 26, 2016
84ba242
doc: node >= 5
fundon Nov 26, 2016
51abb24
Components: use BaseCard
luventa Nov 28, 2016
ac9bb7b
deps: vue-router v2.1.0 vue-nprogress v0.1.3
fundon Nov 30, 2016
4e0e538
store: export default lazyLoading
fundon Nov 30, 2016
cdb929c
deps: add vue-bulma-card
fundon Nov 30, 2016
22c9b11
deps: vue-bulma-switch v1.0.2
fundon Nov 30, 2016
2339705
eslint: build and config
fundon Dec 1, 2016
973fe09
deps: vue v2.1.4 vue-router v2.1.1
fundon Dec 2, 2016
7a88d26
webpack: if you want to support IE < 11, should add `babel-polyfill` …
fundon Dec 5, 2016
2a83c90
deps: vue-nprogress v0.1.4
fundon Dec 5, 2016
cbd2f35
deps: vue-bulma-tabs v1.1.1
fundon Dec 6, 2016
7edfdd9
deps: remove vue-canvas-gauges
fundon Dec 7, 2016
8bef860
deps: vue-cleave v1.1.1
fundon Dec 7, 2016
2d01d10
vue: enable devtools
fundon Dec 9, 2016
bb38b04
use admin.vuebulma.com
fundon Dec 9, 2016
7098eab
deps: vue-bulma-modal v1.0.1
fundon Dec 14, 2016
3cc1c1e
webpack: remove json-loader
fundon Dec 16, 2016
8eff878
webpack: use import instead of System.import
fundon Dec 16, 2016
36d88fe
webpack: disable performance hints
fundon Dec 16, 2016
f7abda1
deps: vue v2.1.1
fundon Dec 17, 2016
2dfcb22
deps: vue-bulma-datepicker v1.2.3
fundon Dec 17, 2016
dae7e21
Implement Brace component
luventa Dec 18, 2016
d10d1e4
Merge pull request #124 from vue-bulma/luventa
luventa Dec 18, 2016
9292718
webpack: add DEV_PORT for dev server
fundon Dec 20, 2016
2a5e99c
ddeps: update
fundon Dec 21, 2016
9d052f7
deps: vue-router-sync v4.0.2
fundon Dec 22, 2016
1292608
Refactor of electron and update README
luventa Dec 22, 2016
4df59ba
Merge pull request #127 from vue-bulma/luventa
luventa Dec 23, 2016
987eb3f
deps: vue-peity v0.5.0, close #128
fundon Dec 26, 2016
4cf2730
Bump v0.1.12
fundon Dec 26, 2016
6d7ad76
deps: vue v2.1.8, animejs v1.1.3
fundon Dec 28, 2016
0595714
ddeps: html-webpack-plugin v2.25.0
fundon Dec 31, 2016
2156001
ddeps: update
luventa Jan 6, 2017
7f3c8ba
Merge pull request #136 from vue-bulma/luventa
fundon Jan 7, 2017
393ab43
deps and ddeps: update
luventa Jan 20, 2017
c7e5eb1
ddeps: update and fix issue.
luventa Jan 27, 2017
0dc1043
switch: eliminate misunderstanding
luventa Jan 27, 2017
db09565
ddeps: upadte and fix issue
luventa Jan 28, 2017
33bec95
Update index.js
wukai1120 Feb 10, 2017
110ec61
fix: strict mode in comment
luventa Feb 10, 2017
5604f09
deps: update
luventa Feb 14, 2017
fcdd7e1
deps: update
luventa Feb 15, 2017
7c839b4
merge updates of official vuejs webpack template
puxxustc Feb 16, 2017
8ce8761
fix: l10n for Datepicker
luventa Feb 22, 2017
dbb2157
update: #139 bulma 0.3.1
luventa Feb 22, 2017
9ac66e3
implement: Axios demo
luventa Feb 22, 2017
e1fe6ec
update: datepicker
luventa Feb 24, 2017
dc8c8de
doc: update bulma version
fundon Feb 24, 2017
66b2e9c
backers: update
fundon Feb 24, 2017
a35b205
deps: vue-bulma-datepicker v1.2.8
fundon Feb 25, 2017
466a212
deps: vue-bulma-brace v0.0.3
fundon Feb 25, 2017
3177162
deps: vue-bulma-card v1.0.2
fundon Feb 25, 2017
a4d5c5c
deps: vue-bulma-chartjs v1.0.3
fundon Feb 26, 2017
8b05d4d
fix #62: add view code link to each page
luventa Feb 26, 2017
7d9d541
deps: vue v2.2.1
fundon Feb 27, 2017
21cccbe
deps: vue-bulma-tooltip v1.0.3, plotly.js v1.24.0
fundon Mar 1, 2017
07bcdb5
fix: Homepage bulma version info.
luventa Mar 1, 2017
974982d
eslint: fix mix warning
fundon Mar 2, 2017
7c79d7c
deps: vue-bulma-datepicker v1.2.9, vue-bulma-progress-bar v1.0.2
fundon Mar 3, 2017
a8fd629
Add backers and sponsors from Open Collective
piamancini Mar 3, 2017
fd9687a
Merge pull request #169 from piamancini/patch-1
fundon Mar 3, 2017
511ee23
doc: update backers
fundon Mar 3, 2017
8dac2dc
webpack: add vuex-router-sync to vendor list
fundon Mar 3, 2017
b543499
backers: thanks
fundon Mar 4, 2017
30eea00
[update] update preview picture
netpi Mar 4, 2017
493edd0
Merge pull request #171 from netpi/develop
fundon Mar 4, 2017
8676ad1
deps: remove vue-handsontable
fundon Mar 5, 2017
a370a2f
deps: datepicker v1.3.0
luventa Mar 6, 2017
c8f1394
backers: add WerGimity
fundon Mar 8, 2017
d7daabb
deps: vue v2.2.2
fundon Mar 12, 2017
974923e
Update dependencies.md
taiyoslime Mar 22, 2017
626dbe3
Merge pull request #179 from taiyoslime/taiyoslime-patch
fundon Mar 22, 2017
2b34fa9
integrates vue-auth jwt authentication
Mar 23, 2017
a4b3784
Merge pull request #180 from dhax/vue-auth
fundon Mar 28, 2017
47ea5dd
add missed dependencies for jwt auth
noep Mar 29, 2017
532c82c
Merge pull request #182 from noep/patch-1
fundon Mar 29, 2017
2507152
deps: update
luventa Apr 25, 2017
d4b8513
UI: add raw value demo for cleave
luventa Apr 25, 2017
98d09ff
deps: upgrade
luventa May 30, 2017
70eb7ec
fix #203
luventa Jun 1, 2017
aec0c7b
deps: upgrade
luventa Jun 2, 2017
90f8bfa
RTL Support added
saeid-ir Jun 13, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
build/*.js
config/*.js
build/build.js
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
node_modules/
dist/
npm-debug.log
yarn-error.log
selenium-debug.log
test/unit/coverage
test/e2e/reports
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
sudo: false
language: node_js
node_js:
- "4"
- "5"
- "6"

Expand Down
101 changes: 87 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
<div align="center">
<p><img width="200" src="https://github.com/fundon/vue-admin/blob/master/client/assets/[email protected]"></p>
<p><img width="200" src="https://github.com/vue-bulma/vue-admin/blob/master/client/assets/[email protected]"></p>

<h1>Vue Admin</h1>

<p>
<strong>Vue Admin Panel Framework</strong>,
<a href="https://vue-admin.fundon.me">Live Demo</a>
<a href="https://admin.vuebulma.com">Live Demo</a>
</p>

<p>
<sub>Made with ❤︎ by
<a href="https://twitter.com/_fundon">Fangdun Cai</a> and
<a href="https://github.com/fundon/vue-admin/graphs/contributors">contributors</a>
<a href="https://github.com/vue-bulma/vue-admin/graphs/contributors">contributors</a>
</sub>
</p>

<p>
<a href="https://npmjs.org/package/vue-admin"><img src="https://img.shields.io/npm/v/vue-admin.svg" alt="NPM version"></a>
<a href="https://www.npmjs.com/package/vue-admin"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="MIT License"></a>
<a href="https://travis-ci.org/fundon/vue-admin"><img src="https://img.shields.io/travis/fundon/vue-admin.svg?label=linux" alt="Linux Build"></a>
<a href="https://travis-ci.org/vue-bulma/vue-admin"><img src="https://img.shields.io/travis/vue-bulma/vue-admin.svg?label=linux" alt="Linux Build"></a>
<a href="https://ci.appveyor.com/project/fundon/vue-admin"><img src="https://img.shields.io/appveyor/ci/fundon/vue-admin/master.svg?label=windows" alt="Window Build"/></a>
<a href="https://gitter.im/fundon/vue-admin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge"><img src="https://badges.gitter.im/fundon/vue-admin.svg" alt="Gitter"></a>
</p>

</div>

![](screenshots/app.png)
![](screenshots/preview.jpg)


## Features

* Powered by [Vue][] **2.0** & [Bulma][] **0.2**
* Powered by [Vue][] **2.0** & [Bulma][] **0.3**
* Responsive and Flexible Box Layout
* [Variety of Charts](doc/charts.md)
* [Rich Components](doc/components.md) or See [vue-bulma][]
Expand All @@ -39,33 +39,106 @@

## [Backers](backers.md)

Its ongoing development is made possible thanks to the support by these awesome backers. If you'd like to join them, check out [Vue Admin & Vue Bulma](https://www.patreon.com/_fundon)'s Patreon campaign.
Its ongoing development is made possible thanks to the support by these awesome backers. If you'd like to join them, check out:

* [Patreon campaign](https://www.patreon.com/_fundon)

* [OpenCollective](https://opencollective.com/vue-admin#backer): Support us with a monthly donation and help us continue our activities

<a href="https://opencollective.com/vue-admin/backer/0/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/0/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/1/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/1/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/2/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/2/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/3/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/3/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/4/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/4/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/5/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/5/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/6/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/6/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/7/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/7/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/8/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/8/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/9/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/9/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/10/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/10/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/11/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/11/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/12/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/12/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/13/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/13/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/14/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/14/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/15/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/15/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/16/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/16/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/17/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/17/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/18/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/18/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/19/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/19/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/20/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/20/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/21/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/21/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/22/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/22/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/23/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/23/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/24/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/24/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/25/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/25/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/26/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/26/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/27/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/27/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/28/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/28/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/backer/29/website" target="_blank"><img src="https://opencollective.com/vue-admin/backer/29/avatar.svg"></a>

## Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/vue-admin#sponsor)]

<a href="https://opencollective.com/vue-admin/sponsor/0/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/1/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/2/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/3/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/4/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/4/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/5/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/5/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/6/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/6/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/7/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/8/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/9/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/9/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/10/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/10/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/11/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/11/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/12/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/12/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/13/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/13/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/14/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/14/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/15/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/15/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/16/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/16/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/17/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/17/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/18/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/18/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/19/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/19/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/20/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/20/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/21/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/21/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/22/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/22/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/23/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/23/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/24/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/24/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/25/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/25/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/26/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/26/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/27/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/27/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/28/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/28/avatar.svg"></a>
<a href="https://opencollective.com/vue-admin/sponsor/29/website" target="_blank"><img src="https://opencollective.com/vue-admin/sponsor/29/avatar.svg"></a>


## [Development](doc/development.md)


### Requirements

* NPM v3
* Node >= v5

* NPM >= v3

* Webpack v2


## Notes

If you want to use Vue Admin with Vue 1.0 version, please checkout the [vue-v1](https://github.com/fundon/vue-admin/tree/vue-v1) branch.
If you want to use Vue Admin with Vue 1.0 version, please checkout the [vue-v1](https://github.com/vue-bulma/vue-admin/tree/vue-v1) branch.

Launch Vue Admin as a desktop application! Please check [Run Project with Electron](https://github.com/vue-bulma/vue-admin/wiki/Guide#run-project-with-electron)

---

> [fundon.me](https://fundon.me) &nbsp;&middot;&nbsp;
> GitHub [@fundon](https://github.com/fundon) &nbsp;&middot;&nbsp;
> Twitter [@_fundon](https://twitter.com/_fundon)
## Maintainers
+ [fundon](https://github.com/fundon) &nbsp;&middot;&nbsp; [fundon.me](https://fundon.me) &nbsp;&middot;&nbsp; [Twitter@fundon](https://twitter.com/_fundon)
+ [luventa](https://github.com/luventa)


[Live Demo]: https://vue-admin.fundon.me/
[Live Demo]: https://admin.vuebulma.com/
[Fangdun Cai]: https://twitter.com/_fundon
[Vue]: http://vuejs.org
[Bulma]: http://bulma.io
[Vue-bulma]: https://github.com/vue-bulma

15 changes: 15 additions & 0 deletions backers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Backers

Thank you for your supports!

* [WerGimity](https://www.patreon.com/user/creators?u=5268464)

* [Thomas_Leong](https://www.patreon.com/user/creators?u=5244543)

* [wen](https://www.patreon.com/user/creators?u=5239734)

* [Joris Vanhecke](https://www.patreon.com/user/creators?u=5145359)

* [datastream](https://www.patreon.com/user/creators?u=4315833)

* [Lê Chương](https://www.patreon.com/user/creators?u=3495305)
39 changes: 22 additions & 17 deletions build/build.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
// https://github.com/shelljs/shelljs
'use strict'

require('./check-versions')()
require('shelljs/global')
env.NODE_ENV = 'production'

var path = require('path')
var config = require('../config')
var ora = require('ora')
var webpack = require('webpack')
var webpackConfig = require('./webpack.prod.conf')
env.NODE_ENV = 'production'

console.log(
' Tip:\n' +
' Built files are meant to be served over an HTTP server.\n' +
' Opening index.html over file:// won\'t work.\n'
)
const ora = require('ora')
const path = require('path')
const chalk = require('chalk')
const webpack = require('webpack')
const config = require('../config')
const webpackConfig = require('./webpack.prod.conf')

var spinner = ora('building for production...')
const spinner = ora('building for production...')
spinner.start()

var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory)
const assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory)
rm('-rf', assetsPath)
mkdir('-p', assetsPath)
cp('-R', 'assets/', assetsPath)
cp('-R', 'assets/*', assetsPath)

const compiler = webpack(webpackConfig)
var ProgressPlugin = require('webpack/lib/ProgressPlugin')
const ProgressPlugin = require('webpack/lib/ProgressPlugin')
compiler.apply(new ProgressPlugin())

compiler.run(function (err, stats) {
compiler.run((err, stats) => {
spinner.stop()
if (err) throw err
process.stdout.write(stats.toString({
Expand All @@ -35,5 +34,11 @@ compiler.run(function (err, stats) {
children: false,
chunks: false,
chunkModules: false
}) + '\n')
}) + '\n\n')

console.log(chalk.cyan(' Build complete.\n'))
console.log(chalk.yellow(
' Tip: built files are meant to be served over an HTTP server.\n' +
' Opening index.html over file:// won\'t work.\n'
))
})
47 changes: 47 additions & 0 deletions build/check-versions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
'use strict'

const chalk = require('chalk')
const semver = require('semver')
const packageConfig = require('../package.json')

const exec = (cmd) => {
return require('child_process').execSync(cmd).toString().trim()
}

const versionRequirements = [
{
name: 'node',
currentVersion: semver.clean(process.version),
versionRequirement: packageConfig.engines.node
},
{
name: 'npm',
currentVersion: exec('npm --version'),
versionRequirement: packageConfig.engines.npm
}
]

module.exports = () => {
const warnings = []
for (let i = 0; i < versionRequirements.length; i++) {
const mod = versionRequirements[i]
if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) {
warnings.push(mod.name + ': ' +
chalk.red(mod.currentVersion) + ' should be ' +
chalk.green(mod.versionRequirement)
)
}
}

if (warnings.length) {
console.log('')
console.log(chalk.yellow('To use this template, you must update following to modules:'))
console.log()
for (let i = 0; i < warnings.length; i++) {
const warning = warnings[i]
console.log(' ' + warning)
}
console.log()
process.exit(1)
}
}
6 changes: 4 additions & 2 deletions build/dev-client.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
'use strict'

/* eslint-disable */
require('eventsource-polyfill')
var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
const hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')

hotClient.subscribe(function (event) {
hotClient.subscribe(event => {
if (event.action === 'reload') {
window.location.reload()
}
Expand Down
Loading