Commit 6a3980ef authored by Mike Greiling's avatar Mike Greiling

disable the Vue production warning in development and testing

parent d023e92f
import Vue from 'vue';
import VueResource from 'vue-resource';
Vue.use(VueResource);
if (process.env.NODE_ENV !== 'production') {
Vue.config.productionTip = false;
}
......@@ -18,7 +18,7 @@ var config = {
context: path.join(ROOT_PATH, 'app/assets/javascripts'),
entry: {
common: './commons/index.js',
common_vue: ['vue', 'vue-resource'],
common_vue: './commons/vue.js',
common_d3: ['d3'],
main: './main.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