/adonuxt

Starter template for Nuxt.js with AdonisJS.

Primary LanguageJavaScript

AdoNuxt

AdonisJS + Nuxt.js = 🔥

Installation

This is a project template for adonis-cli.

adonis new --blueprint nuxt/adonuxt <project-name>

Make sure to use a version of adonis-cli >= 2.1.8 (adonis --version).

Usage

Command Description
npm run dev Start AdonisJS server in development with Nuxt.js in dev mode (hot reloading). Listen on http://localhost:3000.
npm run build Build your nuxt.js web application for production.
npm start Start AdonisJS server in production.
npm lint Lint your code with ESLint and Standard.

Features

See AdonisJS features and Nuxt.js features.

AdonisJS Changes

  • No more public directory, use resources/static/ instead.
  • No more resources/views directory.

Nuxt.js Changes

  • The nuxt.config.js file is now in config/nuxt.js.
  • The Nuxt project directory is resources.

Live Demo

https://ado.nuxtjs.org

This demo has been deployed to now.sh with the single command: now

Documentation

Licenses