轮播图学习总结之一(有源码) |
您所在的位置:网站首页 › 前端开发的感想和思考怎么写 › 轮播图学习总结之一(有源码) |
elementUI container布局不生效解决办法
CoderOx: 爱死你了 宝贝 elementUI container布局不生效解决办法
Youweretrouble:
我的不是博主的问题。大家看看是不是引入element-ui的时候,main.js没有保存啊。我ctrl+S然后就出来了呜呜呜。 Sys_菜菜: 这是官网给的部分导入文档 接下来,如果你只希望引入部分组件,比如 Button 和 Select,那么需要在 main.js 中写入以下内容: import Vue from 'vue'; import { Button, Select } from 'element-ui'; import App from './App.vue'; Vue.component(Button.name, Button); Vue.component(Select.name, Select); /* 或写为 * Vue.use(Button) * Vue.use(Select) */ new Vue({ el: '#app', render: h => h(App) }); elementUI container布局不生效解决办法codingandsleeping1: 我导入了也不行啊 elementUI container布局不生效解决办法m0_51185742: 请问是在哪里导入的? |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |