File: js/vue/src/index.js

Recommend this page to a friend!
  Classes of Sergey Beskorovayniy   Vue Resume   js/vue/src/index.js   Download  
File: js/vue/src/index.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Vue Resume
Build reactive Web user interfaces
Author: By
Last change:
Date: 8 years ago
Size: 679 bytes
 

Contents

Class file image Download
import Vue from './instance/vue' import installGlobalAPI from './global-api' import { inBrowser, devtools } from './util/index' import config from './config' installGlobalAPI(Vue) Vue.version = '1.0.26' export default Vue // devtools global hook /* istanbul ignore next */ setTimeout(() => { if (config.devtools) { if (devtools) { devtools.emit('init', Vue) } else if ( process.env.NODE_ENV !== 'production' && inBrowser && /Chrome\/\d+/.test(window.navigator.userAgent) ) { console.log( 'Download the Vue Devtools for a better development experience:\n' + 'https://github.com/vuejs/vue-devtools' ) } } }, 0)