1.npm引入
npm i element-ui -S
2.在main.js
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
3.然後就可以在xx.vue裏像使用HTML標籤那樣使用elementui的組件
1.npm引入
npm i element-ui -S
2.在main.js
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
3.然後就可以在xx.vue裏像使用HTML標籤那樣使用elementui的組件
1、首先從官網上配置屬於自己的主題,然後點擊導出配置,即可導出對應的json文件 2、通過後臺數據庫,自動選擇對應主題文件 3、然後再需要使用的地方使用即可
1、首先擁有自己的上傳文件,例如 class lc{ constructor(){ this.arr = []; } map(){ this.arr.map((item)=>{
需要配置下nginx,位置在/conf/vhosts/*.conf,將當前目錄下的所有conf都修改一下最好 server { listen 80; server_name agwenb