/express

Starter template for Nuxt.js with Express.

Primary LanguageJavaScript

Nuxt.js with Express

ExpressJS + Nuxt.js = ⚡

Installation

This is a project template for vue-cli.

vue init nuxt/express <project-name>
cd <project-name> # move to your project
npm install # or yarn install

Make sure to use a version of vue-cli >= 2.1 (vue -V).

ExpressJS Changes

  • The routes directory is called api.

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.

Live Demo

https://express.nuxtjs.org

Documentation

Licenses