Socket
Book a DemoInstallSign in
Socket

@nuxtjs/guess

Package Overview
Dependencies
Maintainers
7
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/guess

Guess.js integration for Nuxt.js

latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
0
-100%
Maintainers
7
Weekly downloads
 
Created
Source

guess-module

Guess.js integration for Nuxt.js with guess-webpack

Setup

  • Add @nuxtjs/guess dependency using yarn or npm to your project
  • Add @nuxtjs/guess to modules section of nuxt.config.js
  • If using Nuxt > 2.4.0, set router.prefetchLinks to false in nuxt.config.js
export default {
  modules: [
    [ '@nuxtjs/guess', { GA: 'XXXXXXX' }]
   ],
   // Nuxt > 2.4.0
  router: {
    prefetchLinks: false
  }
 }

Options given directly to guess-webpack options.

Usage

Nothing more to do, @nuxtjs/guess will automagically prefetch the routes depending of your Google Analytics stats 😎

License

MIT

Keywords

nuxt

FAQs

Package last updated on 03 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts