nuxtjs-extensions

A bunch of additional Nuxt modules. ๐Ÿ’š
561 6
Install
npm install nuxtjs-extensions
Latest Version:2.1.0
Vue:2
License:MIT
Last Updated:Apr 12, 2018
Links: GitHub  ·  npm
Maintainer: brucehem

NuxtJS Extensions

A bunch of additional Nuxt modules. ๐Ÿ’š

Setup

npm install nuxtjs-extensions

Usage

  • Inside nuxt.config.js add the following:
{
  modules: [
    [
      'nuxtjs-extensions/typescript',
      {
        tsconfig: path.resolve(/* tsconfig.json */),
        tslint: path.resolve(/* tslint.json */)
      }
    ],
    [
      'nuxtjs-extensions/vuetify',
      {
        css: false, // disable this and use CDN
        theme: {
          primary: '#3f51b5',
          secondary: '#757de8',
          accent: '#ff4081',
          error: '#F44336',
          warning: '#ff9800',
          info: '#2196F3',
          success: '#4CAF50'
        }
      }
    ],
    ['nuxtjs-extensions/vee-validate', { // specify vee-validate options }]
  ]
}

From ๐Ÿ˜–

import { Component, Emit, Inject, Model, Prop, Provide, Watch, Vue } from 'vue-property-decorator';
import { State, Getter, Action, Mutation, namespace } from 'vuex-class';

To ๐Ÿ˜Ž

import {
  Component,
  Emit,
  Inject,
  Model,
  Prop,
  Provide,
  Watch,
  Vue,
  State,
  Getter,
  Action,
  Mutation,
  namespace
} from 'nuxtjs-extensions';

Related Packages

@scayle/storefront-nuxt

Nuxt integration for the SCAYLE Commerce Engine and Storefront API

152,903
nuxt-tsconfig-stub

Stub Nuxt's generated tsconfig.json at installation

70,835 24
kuranuxt

Look at the Nuxt 3 documentation to learn more.

871 0
nuxt-define

One utility function for module authors to define compiler constants for all bui...

13,412,511
dayjs-nuxt

Day.JS Module for Nuxt

1,986,864 126

Version History

Version Released Vue License
2.1.0 ^2.5.13 MIT
2.0.1 ^2.5.13 MIT
2.0.0 ^2.5.13 MIT
1.8.0 ^2.5.13 MIT
1.7.0 ^2.5.13 MIT