GithubHelp home page GithubHelp logo

champernet / nuxt-static-site-generation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vueschool/nuxt-static-site-generation

0.0 0.0 0.0 119 KB

๐Ÿ—‚ Source code for the Static Site Generation with Nuxt.js course

Home Page: https://vueschool.io/courses/static-site-generation-with-nuxtjs

CSS 10.89% Vue 75.43% JavaScript 13.69%

nuxt-static-site-generation's Introduction

Static Site Generation with Nuxt.js

This repository contains the example code for the Static Site Generation with Nuxt.js course.

Prerendering or static site generation is an invaluable technique that every front-end developer should know. Compiling your application into static HTML files is a process that improves both performance and SEO. It can also drastically reduce your hosting cost.

Nuxt.js has made it easy for us to generate static sites of both static routes and dynamic routes, even with data loaded asynchronously.

After this course, you'll be familiar with:

  • What static site generation is
  • The difference between server-Side rendering and prerendering
  • How to prerender static routes
  • How to prerender dynamic routes
  • How to cache asynchronous data when generating dynamic routes

Prerendering is not the same as server-side rendering. If you want to learn about server-side rendering and Nuxt, check out our Async Data with Nuxt.js course. If you do not have experience with Nuxt.js yet, we recommend our Nuxt.js Fundamentals course.

This course is made together with Nuxt.js core member Alexander Lichter.

Click here to watch the course


Build Setup

# install dependencies
$ yarn install

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

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

# generate static project
$ yarn run generate

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

nuxt-static-site-generation's People

Contributors

hootlex avatar rahaug avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.