Clone or download
Latest commit 25cdf91 Oct 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
e2e initial commit Oct 28, 2018
src Update demo Oct 28, 2018
.editorconfig initial commit Oct 28, 2018
.gitignore initial commit Oct 28, 2018
README.md Update readme Oct 28, 2018
angular.json Update demo Oct 28, 2018
extend.webpack.js Update demo Oct 28, 2018
package-lock.json Update demo Oct 28, 2018
package.json Update demo Oct 28, 2018
tsconfig.json initial commit Oct 28, 2018
tslint.json initial commit Oct 28, 2018

README.md

Guess.js Angular demo

Data-driven bundling with Guess.js.

Usage

Since you'll not be able to access the Google Analytics data the current project uses, explore the configuration at extend.webpack.js.

You will notice that the last plugin in this ejected Angular CLI application is GuessPlugin which has quite minimalistic setup:

new GuessPlugin({

  // View ID for your Google Analytics project
  GA: 'XXXXXXXXX',

  // Optional
  period: {
    startDate: new Date('2016-1-2'),
    endDate: new Date('2018-2-24'),
  }
})

The project also defines a routeFormatter which is an optional property that you'll most likely not need.

License

MIT