nuxt.js添加谷歌分析(Google Analytics) 发布于 2020-09-19 在 plugins 文件夹下新建文件 ga.js ,填入以下内容: /* ** 只在生产模式的客户端中使用 */ if (process.c…