当前位置: 首页 > news >正文

关于百度网站是多少进入电商平台832采购

关于百度网站是多少,进入电商平台832采购,关于珠海网站建设的优势,网站建设与开发的论文项目引入Element-UI 一、引入Element-UI二、注册组件1、vue2使用element-ui2、vue3使用element-ui 三、使用Element组件1、轻微改造2、验证element是否生效 一、引入Element-UI npm i element-ui --save npm install element-ui -S等待安装完成 二、注册组件 1、vue2使用ele… 项目引入Element-UI 一、引入Element-UI二、注册组件1、vue2使用element-ui2、vue3使用element-ui 三、使用Element组件1、轻微改造2、验证element是否生效 一、引入Element-UI npm i element-ui --save npm install element-ui -S等待安装完成 二、注册组件 1、vue2使用element-ui 在main.js中注册 import ElementUI from element-ui; import element-ui/lib/theme-chalk/index.css; // Vue3不是这种语法请注意 Vue.use(ElementUI);vue2全部main.js代码 import Vue from vue import App from ./App.vueimport ElementUI from element-ui; import element-ui/lib/theme-chalk/index.css;Vue.config.productionTip false Vue.use(ElementUI);new Vue({render: h h(App), }).$mount(#app) 注意在使用Vue3全局注册element的时候发现错误如下 Uncaught TypeError: Cannot read properties of undefined (reading ‘prototype’) at eval (webpack-internal:///./node_modules/element-ui/lib/utils/types.js:39) at Object…/node_modules/element-ui/lib/utils/types.js (chunk-vendors.js:2923) at webpack_require (app.js:849) at fn (app.js:151) at eval (webpack-internal:///./node_modules/element-ui/lib/utils/util.js:19) at Object…/node_modules/element-ui/lib/utils/util.js (chunk-vendors.js:2935) at webpack_require (app.js:849) at fn (app.js:151) at eval (webpack-internal:///./node_modules/element-ui/lib/locale/format.js:49) at Object…/node_modules/element-ui/lib/locale/format.js (chunk-vendors.js:2526) 那么如何解决呢继续往下看… 2、vue3使用element-ui vue3中使用element-plus它对Vue3进行了支持。 npm install element-plus --savevue3 在main.js注册element-plus 注意这里与Vue2的注册有些不一样比如 const app createApp(App);先创建app 在用 use import { createApp } from vue import App from ./App.vueimport ElementPlus from element-plus import element-plus/dist/index.css const app createApp(App); app.use(ElementPlus);app.mount(#app)三、使用Element组件 1、轻微改造 启动项目正常显示即代表项目运行正常 改造项目代码 位置HelloWorld.vue templatediv classhelloh1{{ msg }}/h1/div /templatescript export default {name: HelloWorld,props: {msg: String} } /scriptstyle scoped /style这样代码看上去比较简单干净 2、验证element是否生效 templatediv classhelloh1{{ msg }}/h1el-button这是一个按钮/el-button/div /templatescript export default {name: HelloWorld,props: {msg: String} } /scriptstyle scoped /style从上面的页面可以看到element注册成功了
http://www.zqtcl.cn/news/544018/

相关文章:

  • 手机网站格式商城网游开发公司
  • 手机怎样创建网站长春网站建设哪家专业
  • 做pop网站定制开发教程
  • 成都响应式网站建报告问题
  • 做设计找素材的+网站有哪些建立平台什么意思
  • 网站设置在哪里找宁德网站建设制作
  • logo网站设计素材品牌高端网站建设公司
  • 芙蓉区乡建设局网站郑州网站建设qicaizz
  • 网站建设的缺陷个人网站制作图片
  • 四川省建设厅注册管理中心网站设计上海2021门票
  • 帝国cms做微网站人力资源公司怎么开
  • 网站建设学徒松江品划做网站公司
  • 灯饰网站需要这么做深圳专业网站设计公司
  • 政务网站设计wordpress 嵌入html5
  • 移动网站 pc网站的区别吗网站建设工厂
  • 有意义网站织梦圈子如何调用网站默认模板
  • 南京公司网站模板建站网页制作中的网站维护
  • 微信分享 淘宝网站 怎么做wordpress访问慢
  • 网站后台制作沈阳营销型网站制作技术
  • 微页制作平台网站建设wordpress文章显示数量
  • 望野古诗王绩seo优化系统
  • 网站设计大概流程惠城区龙丰街道
  • 游戏平台十大排名南宁seo优化公司
  • 佛山外贸网站建设方案企业管理控制系统
  • 分类信息网站如何做排名品牌建设卓有成效
  • 企业网站报价方案模板下载营销软件crm
  • 湛江网站开发哪家专业东莞营销型手机网站建设
  • 做个外贸的网站不懂英语咋做做网站 嵌入支付
  • 官方模板关键字生成的代码添加在网站的什么地方?网站 建设 培训 视频
  • 做网站时图片要切片有什么作用网站导航栏模板怎么做