FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

dnnaji/hackernews: HackerNews clone built with Nuxt.js running on Zeit now v2 · GitHub

 
 

Repository files navigation

Nuxt.js Hacker News

HackerNews clone built with Nuxt.js.


Live Demo

Performance

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

Deployment on Now

{
    "version": 2,
    "name": "nuxt-news",
    "public": true,
    "builds": [
        { "src": "nuxt.config.js", "use": "@bluebeel/nuxt" }
    ],
    "routes": [
        { "src": "^/(.+)\\.(.+)$", "dest": "/$1.$2" },
        { "src": "^/item/([\\d/]+)$", "dest": "/item/_id" },
        { "src": "^/user/([^/]+)$", "dest": "/user/_id" },
        { "src": "^/([^/]+)(/([\\d/]+))?$", "dest": "/_feed/_page" }
	]
}

The defined routes allow to manage the dynamic routes of the application Nuxt.js Hacker News.

License

MIT

This repository is originally ported from vue-hackernews-2.0

About

HackerNews clone built with Nuxt.js running on Zeit now v2

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL