Node's Package Magician

    element-webpart

    0.3.46 • Public • Published

    element-ui-ext

    vue element ui extend

    用法

    import Vue from 'vue'
    import App from './App'
    import router from './router.js'
    import axios from 'axios'
    import ElementUI from 'element-ui/lib/index.js'
    import ElementUIExt from 'element-ui-ext/lib/main.min'
    import jv from "libjv"
    
    (function (jv) {
      window.jv = jv;
    
      jv.initVue({vue:Vue,axios:axios,router:router});
    
      /*Vue.config.productionTip = false;*/
      Vue.use(ElementUI);
      Vue.use(ElementUIExt);
      Vue.prototype.$http = axios;
    })(jv);
    
    
    (function (jv) {
      let vue = new Vue({
        el: '#app',
        router,
        watch: {
          '$route'(to, from) {
          }
        },
        render(render) {
          return render(App);
        }
      });
    })(jv);
    

    Install

    npm i element-webpart

    DownloadsWeekly Downloads

    0

    Version

    0.3.46

    License

    ISC

    Unpacked Size

    494 kB

    Total Files

    20

    Last publish

    Collaborators

    • iamnewsea