cpsloal / prototype_electron-vue-analytics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prototype_fileopensave

This is a quick dirty prototype app, to test various different things and should not be considered anywhere close to proper programming. Also do not use this in any form of real app/code.

This sample is a VueJS plugin prototype for Google Analytics (a wrapper around electron-ga npm package).

If you so incline to test this prototype, make sure to update main.js with your own Google Analytics trackID

Vue.use(analytics, {
  trackId: 'UA-XXXXXXXXX-X'
})

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:9080
npm run dev

# build electron application for production
npm run build

# run unit & end-to-end tests
npm test


# lint all JS/Vue component files in `src/`
npm run lint

Screenshots

Screenshot Landing page Screenshot Google Analytics Screenshot Devtools showing events fired

This project was generated with electron-vue@1c165f7 using vue-cli. Documentation about the original structure can be found here.

About


Languages

Language:JavaScript 81.8%Language:Vue 15.9%Language:HTML 2.3%