| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
HackerNews clone built with Nuxt.js.
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
{
"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.
MIT
This repository is originally ported from vue-hackernews-2.0
| Back | FazBrowse Home | New Git URL |