Skip to content
Typescript Version of HackerNews Nuxt
Branch: master
Clone or download
Latest commit 66f4c96 Feb 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
common Migration to new default NUXT TS specs Jan 23, 2019
components
layouts Migration to new default NUXT TS specs Jan 23, 2019
pages
plugins convert to ts Jan 20, 2019
static
store chore: swap comments of actions and mutations (#13) Jan 31, 2019
tests Migration to new default NUXT TS specs Jan 23, 2019
.editorconfig nuxt hacker news Jun 2, 2017
.gitignore
.prettierrc.js Fixed Hackernews demo with latest nuxt Mar 5, 2018
LICENSE
README.md Update README.md Feb 4, 2019
nuxt.config.ts Migration to new default NUXT TS specs Jan 23, 2019
package.json fix(deps): upgrade jest & update yarn.lock Jan 28, 2019
tsconfig.json update tsconfig.json Jan 23, 2019
tslint.json convert to ts Jan 20, 2019
yarn.lock

README.md

Nuxt Hacker News TS

HackerNews clone built with Nuxt.js and TypeScript showcasing best practices of developing real life modern isomorphic Web Apps with Nuxt. It features integrations with TsLint (linting), Prettier (code formatting), Jest (testing), Axios (http calls on steroids), Storybook* (component playground).


Live Demo

Performance

Coming soon

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
  • TSLint and Prettier integration
  • Typescript 3
  • Storybook Integration (Coming Soon)
  • Snapshot and Unit Tests with Jest and Vue-Test-Utils (Coming Soon)

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

# run unit tests
npm run test

# validate code with TSLint (with Prettier)
npm run lint

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

Links

For Nuxt JS version go here

This repository is originally ported from vue-hackernews-2.0 and HackerNews Nuxt

License

MIT

You can’t perform that action at this time.