Skip to content

williamchong/nuxt-express-template-airbnb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nuxt.js with Express

ExpressJS + Nuxt.js = ⚡

Installation

This is a project template for vue-cli. Also, provides linting with eslint-airbnb.base.

Credit goes to this original repo.

vue init williamchong007/nuxt-express-template-airbnb <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

  • There is a server directory with the root of your express server.
  • The routes directory is called server/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.

Backpack

We use backpack to watch and build the application, so you can use the latest ES6 features (module syntax, async/await, etc.).

Live Demo

https://express.nuxtjs.org

Examples

Documentation

Licenses

About

Starter template for Nuxt.js with Express.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.7%
  • Vue 39.6%
  • CSS 4.7%