AdoNuxt
Installation
This is a project template for adonis-cli.
adonis new --blueprint nuxt-community/adonuxt-template <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, useresources/static/
instead. - No more
resources/views
directory.
Nuxt.js Changes
- The
nuxt.config.js
file is now inconfig/nuxt.js
. - The Nuxt project directory is
resources
.
Live Demo
This demo has been deployed to now.sh with the single command: now