HackerNews clone built with Vue 3.0, vue-router@next & vuex@next, with server-side rendering
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
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.
With all the new possibilities vue@next brought there's propably other/smarter ways to code parts of the meachanics....
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
Based, inspired and forked by/from Vue-2.0 Hackernews clone by @evanyou and Hackernews clone by @nuxt
MIT