mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
Merge pull request #2915 from QingWei-Li/patch-1
example: upgrade element-ui
This commit is contained in:
commit
f55c648fed
@ -3,7 +3,7 @@ module.exports = {
|
||||
** Global CSS
|
||||
*/
|
||||
css: [
|
||||
'element-ui/lib/theme-default/index.css'
|
||||
'element-ui/lib/theme-chalk/index.css'
|
||||
],
|
||||
|
||||
/*
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"element-ui": "^1.4.9",
|
||||
"element-ui": "^2",
|
||||
"nuxt": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -1,5 +1,5 @@
|
||||
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'
|
||||
|
||||
export default () => {
|
||||
|
Loading…
Reference in New Issue
Block a user