1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-15 01:34:06 +00:00

build(ga): set ssr to false

This commit is contained in:
Julien 2018-09-10 00:25:24 +02:00
parent 7b189441a2
commit a54ae3f32a

View File

@ -20,7 +20,10 @@ module.exports = {
: "http://localhost:3000"
},
css: ["normalize.css/normalize.css"],
plugins: [{ src: "@/plugins/ga.js" }, { src: "@/plugins/global.js" }],
plugins: [
{ src: "@/plugins/ga.js", ssr: false },
{ src: "@/plugins/global.js" }
],
build: {
extend(config, { isDev, isClient }) {
if (isDev && isClient) {