Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.37 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.37 KB

vue-hackernews-3.0

HackerNews clone built with Vue 3.0, vue-router@next & vuex@next, with server-side rendering

Info

This is a Vue-3.0 version of the Vue-2.0 hackernews clone.

  • Vue 3.0, Vue-Router 4.0, Vuex 4.0.
  • Preliminary Webpack 5 implementation with HMR (sometimes a but clonky), code-splitting
  • Bundle renderer using this package

More Info

Please refer to the vue-2 ssr guide to get an idea how this is working. As the HN v2 clone this repo is to explore the possibilities of Vue 3.0 SSR. Final build setup is project dependant.

Ideas?

With all the new possibilities vue@next brought there's propably other/smarter ways to code parts of the meachanics....

Build Setup

Requires Node.js 10.13.0+

# install dependencies
npm install # or yarn

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

# build for production
npm run build

# serve in production mode
npm start:prod

Credits

Based, inspired and forked by/from Vue-2.0 Hackernews clone by @evanyou and Hackernews clone by @nuxt

License

MIT