How to use analytics with vue & vue-router.
See ./src/main.js & ./src/analytics.js for example code.
Page views are fired from router afterEach events.
router.afterEach(( to, from ) => {
analytics.page()
})npm install
npm run serve
npm run build
npm run test
npm run lint