Skip to content

flightcontrolhq/nuxt-hackernews

This branch is 164 commits behind nuxt/hackernews:main.

Folders and files

NameName
Last commit message
Last commit date
May 23, 2019
Feb 14, 2021
Dec 14, 2019
Feb 1, 2021
Feb 14, 2021
Feb 1, 2021
Feb 17, 2021
May 4, 2020
Dec 14, 2019
Jun 2, 2017
Feb 23, 2019
Jun 4, 2019
Jul 6, 2020
Mar 31, 2017
Feb 1, 2021
Feb 17, 2021
Jun 10, 2021
Feb 23, 2019
Feb 17, 2021
Jun 10, 2021

Repository files navigation

Nuxt.js Hacker News

HackerNews clone built with Nuxt.js.

Screenshot 2019-06-04 at 13 27 51
Live Demo

Modes

Hosted on Now 2: npm run build + now.json

Hosted on Netlify: npm run build-spa + dist/ directory

Performance

Features

  • Server Side Rendering
  • Code Splitting
  • Single-file Vue Components
  • Prefetch/Preload JS + DNS + Data
  • Critical Path CSS
  • PWA experience using PWA Module with almost zero config
  • PRPL
  • Hot reloading dev environment integrated with ESLint and Prettier
  • Hosted on Vercel

Build Setup

Requires Node.js 8+

# install dependencies
npm install # or yarn

# serve in dev mode, with hot reload at localhost:3000
npm run dev

# build for production (universal)
npm run build

# serve in production mode (universal)
npm start

# build for production (spa)
npm run build-spa

# serve in production mode (spa)
npm run start-spa # or upload dist/ directory

# validate code with ESLint (with Prettier)
npm run lint

# validate and fix with ESLint (with Prettier)
npm run lintfix

Links

For the communiy typescript fork please see nuxt-community/hackernews-nuxt-ts

License

MIT

Credits

This repository is originally ported from vue-hackernews-2.0

About

HackerNews clone built with Nuxt.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 62.1%
  • JavaScript 23.4%
  • TypeScript 14.5%