Merge pull request #2915 from QingWei-Li/patch-1

example: upgrade element-ui
This commit is contained in:
Clark Du 2018-02-28 15:39:32 +08:00 committed by GitHub
commit f55c648fed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ module.exports = {
** Global CSS ** Global CSS
*/ */
css: [ css: [
'element-ui/lib/theme-default/index.css' 'element-ui/lib/theme-chalk/index.css'
], ],
/* /*

View File

@ -3,7 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"element-ui": "^1.4.9", "element-ui": "^2",
"nuxt": "latest" "nuxt": "latest"
}, },
"scripts": { "scripts": {

View File

@ -1,5 +1,5 @@
import Vue from 'vue' import Vue from 'vue'
import Element from 'element-ui/lib/element-ui.common' import Element from 'element-ui'
import locale from 'element-ui/lib/locale/lang/en' import locale from 'element-ui/lib/locale/lang/en'
export default () => { export default () => {