/express-template

Starter template for Nuxt.js with Express.

Primary LanguageVue

Nuxt.js with Express

ExpressJS + Nuxt.js = ⚡

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 ✨

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 your api server.
  • The routes directory is called api/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.

Examples

Documentation

Licenses