0.1.8 • Published 6 years ago

vmconsole v0.1.8

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

安装:

$ npm i -D vmconsole

使用:

// import Vue from 'vue';                   // 依赖项目中的Vue 
// import router from './router/index.js';  // 依赖项目中的router 
// import store from './store/index.js';    // 依赖项目中的store 
// new Vue({                                // 项目中的Vue实例化 
//   el: '#app',
//   router,
//   store,
//   components: { App },
//   template: '<App/>'
// })

// 引入 VMConsole  
import VMConsole from "vmconsole";  
// 初始化 VMConsole 
VMConsole(Vue,router,store); // Vue 必填;  router、store可选  
// 或者按需引入 (如非生产环境引入) 
if ( process.env.NODE_ENV!=='production' ) {
   require("vmconsole").default(Vue,router,store); 
 }
注意: 依赖于webpack的打包, 请不要将该包排除在打包范围外; 
0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago