@alejandrogongora/nuxt-express
v1.1.2
Published
<p align="center"><img width="328px" src="https://nuxtjs.org/logos/nuxt.svg"></p>
Downloads
16
Readme
Nuxt.js with Express
Live Demo: https://codesandbox.io/s/github/nuxt-community/express-template
Installation
This is a template project, click on the green button "Use this template" at the top of this page and get started with GitHub :sparkles:
One you cloned your repository, install the dependencies with:
yarn install # or npm install
ExpressJS Changes
- There is a
api
directory with the root of yourapi
server. - The
routes
directory is calledapi/routes
.
Commands
| Command | Description | |---------|-------------| | npm run dev | Start ExpressJS 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 ExpressJS server in production. |