HackerNews clone built with Nuxt.js
Nuxt.js Hacker News
HackerNews clone built with Nuxt.js.
Performance
- Lighthouse 100/100 - Webpagetest
- Interactive (Faster 3G) 3.5s
- Interactive (Emerging Markets) 3.8s
Features
- Server Side Rendering & Caching
- Code Splitting
- Single-file Vue Components
- Real-time List Updates with FLIP Animation
- 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
Build Setup
Requires Node.js 6+
# install dependencies
npm install # or yarn
# serve in dev mode, with hot reload at localhost:3000
npm run dev
# build for production
npm run build
# serve in production mode
npm start
# validate code with ESLint (with Prettier)
npm run lint
# validate andf fix with ESLint (with Prettier)
npm run lintfix