Skip to content

sapida/vue_element_cli3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

在vue-cli基础上按需加载elementUI。

项目技术架构

  • Vue.js+Vuex+axios+Vue-router+elementUI

@vue/cli3 element-ui 按需加载的配置

  • 安装插件

npm i element-ui -S npm install babel-plugin-component -D npm install @babel/preset-env -D

  • 修改 babel.config.js 为

module.exports = { "presets": [ '@vue/app' ], "plugins": [ [ "component", { "libraryName": "element-ui", "styleLibraryName": "theme-chalk" } ] ] }

About

基于vue-cli3.0和elementUI整合PC端框架

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published