0.1.5 • Published 5 years ago

@codetheorist/nuxt-chuck v0.1.5

Weekly downloads
13
License
ISC
Repository
github
Last release
5 years ago

Nuxt Chuck

Info

This module simply adds a component to NuxtJS for displaying a random Chuck Norris joke. The package has it's own database so no API calls are made, relying on VueX for fetching and rendering the data from a JSON file.

Installation

Simply run:

npm install --save @codetheorist/nuxt-chuck

This will install the module and save it as a dependency. Once this is done you need to add the module to nuxt.config.js. It should look like the following:

modules: [
  // With options
  ['@codetheorist/nuxt-chuck',
    {
      namespace: 'norris'
    }
  ],
  // Without options, namespace is 'chuck' by default.
  '@codetheorist/nuxt-chuck'
]

This will give you access to the chuck joke component globally.

<chuck-joke />
0.1.5

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.7

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago