Guess.js module for Nuxt 2
TODO:
- Vue.js support in guess-parser Tracked Issue
- Add
@nuxtjs/guess-module
dependency using yarn or npm to your project - Add
@nuxtjs/guess-module
tomodules
section ofnuxt.config.js
- Config 'options' as
options
of guess-webpack - Note: the default
reportProvider
when there is noGA
andreportProvider
specifed is the content ofrouter.json
underrootDir
orsrcDir
{
modules: [
// Simple usage
'@nuxtjs/guess-module',
// With options
['@nuxtjs/guess-module', {
GA: 'XXXXXX'
}],
]
}
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
This module is inspired by guest-nuxt by @daliborgogic.
- Google I/O announcement by Addy Osmani
- Introducing Guess.js - a toolkit for enabling data-driven user-experiences on the Web
- Using Guess.js with Nuxt.js
Copyright (c) Clark Du [email protected]