@nuxtjs/guess-module

Guess.js module for Nuxt.js

Usage no npm install needed!

<script type="module">
  import nuxtjsGuessModule from 'https://cdn.skypack.dev/@nuxtjs/guess-module';
</script>

README

guess-module

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

Guess.js module for Nuxt.js

📖 Release Notes

TODO:

Setup

  • Add @nuxtjs/guess dependency using yarn or npm to your project
  • Add @nuxtjs/guess 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',

    // With options
    ['@nuxtjs/guess', {
      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 clark.duxin@gmail.com