This is a project template for vue-cli.
vue init nuxt/adonuxt <project-name> cd <project-name> # move to your project mv .env.example .env # Add environment variables for Adonis npm install # or yarn installSee 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.
| 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 the nuxt.js web application for production. |
| npm start | Start AdonisJS server in production. |
This demo has been deployed to now.sh with the single command: now
