import Vue from "vue/dist/vue.esm";
import VueRouter from 'vue-router';
Vue.config.productionTip = process.env.NODE_ENV == "development";
Vue.use(VueRouter);

import store from "../store/index";
import "../config/axios";
import "../directives/selectionchange";

import contenteditableDirective from "vue-contenteditable-directive";
Vue.use(contenteditableDirective);

import TheResourceBody from "../components/TheResourceBody";

document.addEventListener("DOMContentLoaded", () => {
  const routes = [];

  const router = new VueRouter({
    routes
  });

  const app = new Vue({
    el: "#app",
    store,
    router,
    components: {
      TheResourceBody
    }
  });

  window.app = app;
});

@@ -33,44 +33,8 @@
 m%22;%0A
-import VueRouter from 'vue-router';%0A
 Vue.
@@ -98,28 +98,8 @@
 nt%22;
-%0AVue.use(VueRouter);
 %0A%0Aim
@@ -425,81 +425,8 @@
 %3E %7B%0A
-  const routes = %5B%5D;%0A%0A  const router = new VueRouter(%7B%0A    routes%0A  %7D);%0A%0A
   co
@@ -476,20 +476,8 @@
 re,%0A
-    router,%0A
     

Revert "Set up VueRouter in vue_app."