Skip to content

nuxt/hackernews

Folders and files

NameName
Last commit message
Last commit date
Jun 17, 2024
Jun 17, 2024
Nov 12, 2024
Jun 17, 2024
Jun 17, 2024
Jun 2, 2017
Jun 17, 2024
Oct 3, 2022
Jun 17, 2024
Jun 17, 2024
Jun 17, 2024
Jun 17, 2024
Mar 27, 2025
Mar 27, 2025
May 7, 2024
Aug 3, 2022

Repository files navigation

Nuxt Hacker News

Hacker News clone built with Nuxt.


Live Demo

Demo

https://hn.nuxt.dev

Hosted on Cloudflare Pages with NuxtHub: npm run build

Performance

  • Lighthouse 100/100 (Slow 4G / Mobile Moto G4)

Features

  • Server Side Rendering
  • Vite-based hot module replacement (HMR) dev environment
  • Deploys anywhere with zero config (Vercel, Netlify, Cloudflare, etc.) powered by Nitro
  • Code Splitting
  • Prefetch/Preload JS + DNS + Data

Build Setup

Requires Node.js 14+

# install dependencies
npm install # or yarn

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

# build for production (server-side rendering)
npm run build

# serve in production mode (server-side rendering)
npm start

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

Links

For the Nuxt 2 version, check out the nuxt2 branch

License

MIT

Credits

This repository is originally ported from vue-hackernews-2.0