update index.js
Umi plugin to support google analytics
yarn add umi-plugin-ga
export default { plugins: [ [ ..... ], [ 'umi-plugin-ga', { code: 'google analytics code', judge: ()=>true // true or false }, ], ], ..... }
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
umi-plugin-ga
Umi plugin to support google analytics
use
install
yarn add umi-plugin-gaconfig