iliuyt / blog

1 stars 0 forks source link

element 自定义主题 #59

Open iliuyt opened 4 years ago

iliuyt commented 4 years ago
npm install -g @vue/cli
vue create vue-theme
cd vue-theme
npm install node-sass sass-loader -D
npm install element-ui -S
npm install element-theme -g
npm install element-theme-chalk -D
et -i
import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import './theme/index.css'

Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
npm run serve