create-nuxt-module

Create Nuxt.js Module in seconds.

Usage no npm install needed!

<script type="module">
  import createNuxtModule from 'https://cdn.skypack.dev/create-nuxt-module';
</script>

README

Create Nuxt Module

Create Nuxt.js Module in seconds.

create-nuxt-module

Demo video

asciicast

Installation and Usage

$ npx create-nuxt-module # or npx create-nuxt-module <path>

Basic Features

screen shot 2019-02-12 at 21 13 53
  • Nuxt module basic template
    • module core (with enable flag)
    • serverMiddleware template
    • plugin template
  • Test environment with Jest
    • Unit test
    • End-to-End system test
  • Formatter
    • prettier
  • Logger
    • consola

Optional Features

  • Select development language
    • JavaScript
    • TypeScript
  • Select package manager
    • npm
    • Yarn

How to Contribute

Install:

$ git clone git@github.com:potato4d/create-nuxt-module.git
$ cd create-nuxt-module
$ yarn

Lint and Format files:

$ yarn format

Run tests:

$ yarn test

License

MIT