create-nuxt-app
Version:
Create a Nuxt.js App in seconds.
19 lines (15 loc) • 479 B
JavaScript
/*
|--------------------------------------------------------------------------
| Routes
|--------------------------------------------------------------------------
|
| Http routes are entry points to your web application. You can create
| routes for different URL's and bind Controller actions to them.
|
| A complete guide on routing is available here.
| http://adonisjs.com/guides/routing
|
*/
const Route = use('Route')
Route.any('*', 'NuxtController.render')