Skip to content

mgechev/guess-js-angular-demo

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
e2e
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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