Commit 22856474 authored by Mike Greiling's avatar Mike Greiling

move common vue script to vue_shared directory

parent 32935bc9
import Vue from 'vue'; import Vue from 'vue';
import VueResource from 'vue-resource'; import './vue_resource_interceptor';
Vue.use(VueResource);
if (process.env.NODE_ENV !== 'production') { if (process.env.NODE_ENV !== 'production') {
Vue.config.productionTip = false; Vue.config.productionTip = false;
......
...@@ -18,7 +18,7 @@ var config = { ...@@ -18,7 +18,7 @@ var config = {
context: path.join(ROOT_PATH, 'app/assets/javascripts'), context: path.join(ROOT_PATH, 'app/assets/javascripts'),
entry: { entry: {
common: './commons/index.js', common: './commons/index.js',
common_vue: './commons/vue.js', common_vue: ['vue', './vue_shared/common_vue.js'],
common_d3: ['d3'], common_d3: ['d3'],
main: './main.js', main: './main.js',
blob_edit: './blob_edit/blob_edit_bundle.js', blob_edit: './blob_edit/blob_edit_bundle.js',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment