Skip to content
项目

关于

使用 Nuxt 构建的 HackerNews 克隆版。

网站与应用开发

这些数字如何统计

可以做什么

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

实测星标增长

24小时
0
7天
+1
15天
+2
1个月
+1

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…