electron + vue桌面应用程序(2)引入简单使用elementUI - Go语言中文社区

electron + vue桌面应用程序(2)引入简单使用elementUI


  1. 安装elementUI
    npm i element-ui -S在这里插入图片描述

  2. 引入elementUI
    在main.js中引入element

    import ElementUI from 'element-ui'
    import 'element-ui/lib/theme-chalk/index.css'
    Vue.use(ElementUI)
    

    在这里插入图片描述

  3. 使用elementUI组件
    在这里插入图片描述

  4. 查看最终效果
    在这里插入图片描述

版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/weixin_45455621/article/details/102365205
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2020-03-07 20:04:32
  • 阅读 ( 759 )
  • 分类:前端

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢