Git Product home page Git Product logo

hackernews's Introduction

Nuxt.js Hacker News

HackerNews clone built with Nuxt.js.

Screenshot 2019-06-04 at 13 27 51
Live Demo

Modes

Hosted on Now 2: npm run build + now.json

Hosted on Netlify: npm run build-spa + dist/ directory

Performance

Features

  • Server Side Rendering
  • 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
  • Hosted on Now 2

Build Setup

Requires Node.js 8+

# install dependencies
npm install # or yarn

# serve in dev mode, with hot reload at localhost:3000
npm run dev

# build for production (universal)
npm run build

# serve in production mode (universal)
npm start

# build for production (spa)
npm run build-spa

# serve in production mode (spa)
npm run start-spa # or upload dist/ directory

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

# validate andf fix with ESLint (with Prettier)
npm run lintfix

Links

For the communiy typescript fork please see nuxt-community/hackernews-nuxt-ts

License

MIT

Credits

This repository is originally ported from vue-hackernews-2.0

hackernews's People

Contributors

yyx990803 avatar atinux avatar pi0 avatar husayt avatar addyosmani avatar danhawkes avatar sibbng avatar sirlancelot avatar limonte avatar panjiachen avatar piusnyakoojo avatar rezahaidari avatar roryokane avatar rumkin avatar isairz avatar hyra avatar stevenyuysy avatar tangwz avatar williamboman avatar miguepiscy avatar bodyno avatar netpi avatar nolanlawson avatar mikekidder avatar mhadaily avatar markuplab avatar juukie avatar iiegor avatar inouetakuya avatar riophae avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.