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).
| 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. |
See AdonisJS features and Nuxt.js features.
- No more
publicdirectory, useresources/static/instead. - No more
resources/viewsdirectory.
- The
nuxt.config.jsfile is now inconfig/nuxt.js. - The Nuxt project directory is
resources.
This demo has been deployed to now.sh with the single command: now
