Navigation Menu

Skip to content

Commit

Permalink
update cli 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tookit committed Jan 7, 2019
1 parent 1fd2827 commit acd41f1
Show file tree
Hide file tree
Showing 315 changed files with 496 additions and 35,407 deletions.
18 changes: 0 additions & 18 deletions .babelrc

This file was deleted.

55 changes: 12 additions & 43 deletions .eslintrc.js
@@ -1,45 +1,14 @@
// https://eslint.org/docs/user-guide/configuring
// eslint-disable-next-line
/* eslint-disable */
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 2017,
sourceType: 'module'
},
extends: [
'eslint-config-alloy/vue',
],
globals: {
// 这里填入你的项目需要的全局变量
// 这里值为 false 表示这个全局变量不允许被重新赋值,比如:
//
// Vue: false
},
rules: {
// 这里填入你的项目需要的个性化配置,比如:
//
// // @fixable 一个缩进必须用两个空格替代
'indent': [
'error',
2,
{
SwitchCase: 1,
flatTernaryExpressions: true
}
],
'no-undef-init': 1,
'no-trailing-spaces': 0,
'no-undefined': 0,
'no-void': 0,
'no-unused-vars': 0,
'no-param-reassign': 0,
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "always",
"asyncArrow": "always"
}],
},

root: true,
env: {
node: true
},
extends: ["plugin:vue/essential", "@vue/prettier"],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
},
parserOptions: {
parser: "babel-eslint"
}
};
10 changes: 0 additions & 10 deletions .postcssrc.js

This file was deleted.

58 changes: 30 additions & 28 deletions README.md
@@ -1,33 +1,33 @@

# Vue Material Admin

### Plan and features
## Plan and features
* will create a new template by vue-cli 3.x
* will remove some useless code becuase of the vuetify framework updates
* may add vue-nuxt support
* may add vuex support and sample code
* will refactor the whole code

### Introduction
## Introduction
Vue Material Admin Template is a [Vue](https://vuejs.org/index.html/) Based Material Design Admin Template.
And use [Vuetifyjs](https://vuetifyjs.com/) as base framework.
Vuetify is Awesome.

### Demo
## Demo
[http://vma.isocked.com/#/dashboard](http://vma.isocked.com/#/dashboard)

### Preview
## Preview
![Preivew](http://vma.isocked.com//static/preview/01_preview.png)

###
### Project Structure
## Project Structure
``` bash
├── build
├── config (Webpack)
├── src
│ ├── api
│ ├── components
│ ├── mixins
│ ├── pages (or views)
│ ├── views (or views)
│ ├── router
│ ├── util
│ ├── theme
Expand All @@ -47,32 +47,34 @@ Vuetify is Awesome.
└── .gitignore
```

### Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build
## Project setup
```
yarn install
```

# build for production and view the bundle analyzer report
npm run build --report
### Compiles and hot-reloads for development
```
yarn run serve
```

# run unit tests
npm run unit
### Compiles and minifies for production
```
yarn run build
```

# run e2e tests
npm run e2e
### Run your tests
```
yarn run test
```

# run all tests
npm test
### Lints and fixes files
```
yarn run lint
```

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).
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).


### Reference

Expand All @@ -93,4 +95,4 @@ If you find this project useful, you can buy author a glass of juice :tropical_d

## License

[MIT](https://github.com/tookit/vue-material-admin/blob/master/LICENSE)
[MIT](https://github.com/tookit/vue-material-admin/blob/master/LICENSE)
3 changes: 3 additions & 0 deletions babel.config.js
@@ -0,0 +1,3 @@
module.exports = {
presets: ["@vue/app"]
};
41 changes: 0 additions & 41 deletions build/build.js

This file was deleted.

54 changes: 0 additions & 54 deletions build/check-versions.js

This file was deleted.

101 changes: 0 additions & 101 deletions build/utils.js

This file was deleted.

0 comments on commit acd41f1

Please sign in to comment.