All Projects → Detachment → Build-vue-hackernews-2.0-from-scratch

Detachment / Build-vue-hackernews-2.0-from-scratch

Licence: other
A tutorial for beginners to build a complex project with Vue.js 2.0 step by step

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Build-vue-hackernews-2.0-from-scratch

Vue Blog
A single-user blog built with vue2, koa2 and mongodb which supports Server-Side Rendering
Stars: ✭ 586 (+589.41%)
Mutual labels:  webpack2, vue-router, vuex2
Fans
这是一个app(android/iOS)项目,但页面视图全部都用的是html5页,没有使用app的原生页面。 前端h5是基于mui + vue2 + vue-router2 + es6 + webpack2 + vuex + signalR 的前端webApp单页项目框架,项目可以直接在PC上运行html5页面。 app打包技术是用HBuilder IDE工具一键打包成APP。
Stars: ✭ 416 (+389.41%)
Mutual labels:  webpack2, vue-router, vuex2
Vue2 Element
基于vue2 + vue-router2 + element-ui + vuex2 + fetch + webpack2 企业级后台管理系统最佳实践
Stars: ✭ 112 (+31.76%)
Mutual labels:  webpack2, vue-router, vuex2
cloudMusic
(移动端)Vue2.0+Nodejs网易云音乐,网易云音乐api强力驱动,高音质破解(持续更新中)
Stars: ✭ 14 (-83.53%)
Mutual labels:  webpack2, vue-router, vuex2
Vue Cnode
🔥Vue.js打造一个开源的CNode社区。CNode by Vue.js
Stars: ✭ 249 (+192.94%)
Mutual labels:  vue-router, vuex2
Spring Boot Vue Bank
我,请始皇[打钱]是一个前后端分离的工具人系统,项目采用 SpringBoot+Go+Vue 开发,项目加入常见的企业级应用所涉及到的技术点,例如 Redis、RabbitMQ 等(主要是多用用工具多踩踩坑)。
Stars: ✭ 157 (+84.71%)
Mutual labels:  vue-router, vuex2
Magicmusic
🎵帅气的手机端音乐播放器(vue vue-router vuex flex ...)
Stars: ✭ 350 (+311.76%)
Mutual labels:  webpack2, vuex2
Vue Cnode
基于vue2 + vue-router + vuet + ES6 + less + flex.css重写vue版cnode社区,使用webpack2打包
Stars: ✭ 1,134 (+1234.12%)
Mutual labels:  vue-router, vuex2
Vue Quasar Admin
Vue 2.0 admin-dashboard based on Quasar-Framework
Stars: ✭ 516 (+507.06%)
Mutual labels:  webpack2, vue-router
Vue Qq
🎨 Vue family bucket with socket.io and express/koa2 , create a web version of mobile QQ, supporting real-time group chat, real-time private chat, special care, shielding chat, smart IP geographic location, real-time display temperature and other QQ core functions
Stars: ✭ 861 (+912.94%)
Mutual labels:  webpack2, vue-router
Vue Admin Element
(Vue2 演示项目)物业后台管理系统 - ElementUI ( 基本结构已完成, 剩下的就是具体业务开发; 如有疑问请留言 )
Stars: ✭ 73 (-14.12%)
Mutual labels:  webpack2, vuex2
Seemusic
Vue 云音乐播放器,网易云音乐API,可听网易云高品质付费歌曲。 Vue music player
Stars: ✭ 112 (+31.76%)
Mutual labels:  webpack2, vue-router
Vue2 Qq
一个基于兴趣,为了学习,提高能力的项目
Stars: ✭ 90 (+5.88%)
Mutual labels:  vue-router, vuex2
Vbox
vue实现的音乐Web App
Stars: ✭ 73 (-14.12%)
Mutual labels:  vue-router, vuex2
Vue Tutorial
vue2.0-tutorial
Stars: ✭ 1,165 (+1270.59%)
Mutual labels:  vue-router, vuex2
vue2-element
基于vue2 + vue-router2 + element-ui + vuex2 + fetch + webpack2 企业级后台管理系统最佳实践
Stars: ✭ 115 (+35.29%)
Mutual labels:  webpack2, vuex2
Vue Chat
👥Vue全家桶+Socket.io+Express/Koa2打造一个智能聊天室。
Stars: ✭ 887 (+943.53%)
Mutual labels:  vue-router, vuex2
Manhuaren
vue2.0全家桶,仿漫画人官网(移动端)
Stars: ✭ 18 (-78.82%)
Mutual labels:  vue-router, vuex2
Vue Admin
基于Vue2、element ui、vue-cli、vuex、vue-router、axios 、echarts后台管理系统demo. 权限管理,用户管理,菜单管理。无限级菜单,下拉树形选择框
Stars: ✭ 1,135 (+1235.29%)
Mutual labels:  webpack2, vue-router
Douban
Awesome douban DEMO created with Vue2.x + Vuex + Vue-router + Superagent
Stars: ✭ 2,324 (+2634.12%)
Mutual labels:  webpack2, vue-router

Bulid vue-hackernews-2.0 from Scratch

Preface 中文版本

Welcome to my first application bulid tutorial: Bulid vue-hackernews-2.0 from Scratch.

As a new learner of front-end development and Vue.js, I find it a bit difficult to understand the offical example: vue-hackernews-2.0. Meanwhile, the complexity of this example really attracts me. So I spend some time on figuring out how it works and with this tutorial I will show you how I rebulid it step-by-step.

Note that this tutorial is for beginners. I will divide this tutorial into serval chapters, each of then represent different step of the whole process. In the head of every chapter, I would list some basic understandings that are acquired for the corresponding chapter.

Notices: Vue-HN is short for vue-hackernews-2.0 in all the after chapters to help us save some keystrokes. The code of this tutorial works on Windows 7, other OS haven't been tested.

Brief Intro to Each Edition

0. Vue.js, Vuex, Vue-router, HN API, Firebase, ES6

As a new learner of front-end development, ever since I started to learn Vue-HN project, I wondered whether it is possible to make this project with just Vue.js, Vuex and Vue-router. After some tries and failures, I finally made it. The GIFs below are the animation screenshots of the my edition and offical edition respectively.

Origin Website
[ My Edition ]

Plane Vue.js
[ Offical Edition ]

1. Webpack, Vue.js, Vue-router, Vuex and Hackernews API

In this chapter, we will bulid another edition of Vue-HN in which we would start to make this project more modularized and maintainable. With some very basic configurations of webpack, we would make this edition of the project work. In order to bulid the whole project step by step, we still did not consider server, SSR(server-side-render), cache and so on in this edition. So, the following animation screenshot would show us the basic functions in this edition and some simple deconstruction of the project.

Basic functions and simple deconstruction
[Basic Functions and Simple Deconstruction]

2. Server, Packages and Plugins for Better Performance

This edition can be the most difficult part for me in the whole project. So many plugins, packages and new techniques make the project extremely complex for me. I have tried my best to figure this out and in the following part I will share what I have got with you.

3. Change the Project as I like

In this edition, I will change the style of Vue-HN to be more Vue.js, at least in the visual respect. The GIF below is the final editon of mine, you can have a visit to the original website: Vue-HackerNews 2.0. The details of the differences will be discussed in Process part.

Last Edition of Vue-HackerNews
[Last Edition of Vue-HackerNews]

Table of Contents

0-vue.js-vuex-router-firebase-ES6
1-webpack-vue.js-router-store-firebase
2-Packages-Plugins-for-Better-User-Experience
3-Change-the-Project-as-I-like

License

Copyright (c) 2017 Copyright Holder All Rights Reserved.
MIT (http://opensource.org/licenses/mit-license.php)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].