/nuxt-app

This a nuxt app

Primary LanguageVue

first-nuxt-app

My stylish Nuxt.js project

Build Setup

# install dependencies
$ npm run install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

Deploying Nuxt.JS app to Netlify through git

  # run npm build

visit app.netlify.com.

  # Sign in to your github account
  # Click the "New site from Git" button
  # Click the "Github" button
  # Choose the repo that you would like to deploy
  # Change the build command field to npm run generate
  # Change the publish directory field to /dist
  # Click the "deploy site button" and a url with generated for your site will be provided to you
  

For a more detailed explanation on how things work, check out vueschool.io and Traversy Media's Youtube Tutorial here.