Skip to content

Instantly share code, notes, and snippets.

@hal0gen
Created February 13, 2017 00:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hal0gen/1ca820f6cbcef8619883051ba84f6f35 to your computer and use it in GitHub Desktop.
Save hal0gen/1ca820f6cbcef8619883051ba84f6f35 to your computer and use it in GitHub Desktop.
Vue app entry point
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'script-loader!jquery/dist/jquery.min';
import 'script-loader!what-input/dist/what-input.min';
import 'script-loader!foundation-sites/dist/js/foundation.min';
// Vue libraries
import Vue from 'vue';
import App from './App';
import router from './router';
/* eslint-disable no-new */
new Vue({
router,
el: '#app',
template: '<App/>',
components: { App },
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment