Skip to content

Commit

Permalink
Split intro in another chunk and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurvasconcelos committed Nov 30, 2018
1 parent 18e446a commit be585a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Vue.use(Analytics, {
});
Vue.use(GTM, {
enabled: true,
debug: true,
debug: process.env.NODE_ENV !== "production",
vueRouter: router
// ignoredViews: ['']
});
Expand Down
4 changes: 2 additions & 2 deletions src/router.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Vue from "vue";
import Router from "vue-router";
import Intro from "./views/Intro.vue";

Vue.use(Router);

Expand All @@ -22,7 +21,8 @@ export default new Router({
{
path: "/",
name: "intro",
component: Intro
component: () =>
import(/* webpackChunkName: "intro" */ "./views/Intro.vue")
},
{
path: "/about-me",
Expand Down

0 comments on commit be585a8

Please sign in to comment.