Skip to content

Latest commit

 

History

History
80 lines (61 loc) · 3.1 KB

README.md

File metadata and controls

80 lines (61 loc) · 3.1 KB

guess-module

David-DM Standard JS Github Actions Codecov npm version npm downloads

Guess.js module for Nuxt 2

📖 Release Notes

TODO:

Setup

  • Add @nuxtjs/guess-module dependency using yarn or npm to your project
  • Add @nuxtjs/guess-module to modules section of nuxt.config.js
  • Config 'options' as options of guess-webpack
  • Note: the default reportProvider when there is no GA and reportProvider specifed is the content of router.json under rootDir or srcDir
{
  modules: [
    // Simple usage
    '@nuxtjs/guess-module',

    // With options
    ['@nuxtjs/guess-module', {
      GA: 'XXXXXX'
    }],
 ]
}

Development

  • Clone this repository
  • Install dependencies using yarn install or npm install
  • Start development server using npm run dev

Credits

This module is inspired by guest-nuxt by @daliborgogic.

Links

License

MIT License

Copyright (c) Clark Du [email protected]