No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Update demo Oct 5, 2018
public Update plugins May 6, 2018
scripts Initial commit Mar 10, 2018
src Initial commit Mar 10, 2018
.gitignore Initial commit Mar 10, 2018
README.md Update readme May 6, 2018
data.json chore: add data file Mar 13, 2018
package-lock.json chore: update guess dependencies Oct 8, 2018
package.json chore: update guess dependencies Oct 8, 2018
tsconfig.json chore: add missing baseUrl Mar 13, 2018
tsconfig.test.json Initial commit Mar 10, 2018
tslint.json Initial commit Mar 10, 2018
yarn.lock chore: update deps Mar 11, 2018

README.md

Guess.js React 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 config/webpack.config.prod.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