README
guess-module
Guess.js module for Nuxt.js
TODO:
- Vue.js support in guess-parser Tracked Issue
Setup
- Add
@nuxtjs/guess
dependency using yarn or npm to your project - Add
@nuxtjs/guess
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',
// With options
['@nuxtjs/guess', {
GA: 'XXXXXX'
}],
]
}
Development
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
Credits
This module is inspired by guest-nuxt by @daliborgogic.
Links
- 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
License
Copyright (c) Clark Du clark.duxin@gmail.com