Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @nuxtjs/guess with all npm packages installed. Try it out:

var guess = require("@nuxtjs/guess")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@nuxtjs/guess v1.0.3

Guess.js integration for Nuxt.js


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


  • 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.


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



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free