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:
parent
7b189441a2
commit
a54ae3f32a
@ -20,7 +20,10 @@ module.exports = {
|
|||||||
: "http://localhost:3000"
|
: "http://localhost:3000"
|
||||||
},
|
},
|
||||||
css: ["normalize.css/normalize.css"],
|
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: {
|
build: {
|
||||||
extend(config, { isDev, isClient }) {
|
extend(config, { isDev, isClient }) {
|
||||||
if (isDev && isClient) {
|
if (isDev && isClient) {
|
||||||
|
Loading…
Reference in New Issue
Block a user