Vue and React are both hot, SMOKING HOT!
THIS github-explorer is based on Vue. You can check out the ORIGINAL one, which is based on React.
I had deployed it on leancloud, so you can see Live Demo. But if you would like to check the source code, you need to step to folder fe.
- VueJs for UI
- vue-router for Router
- vue-resource for data fetching
- Vuex for state management
- vue-cli for building the project's structure
- Animation.css for animation of switching views and array
Go to The File Folder fe to do the command line!
npm install
npm run devCheckout localhost: 3000 in the browser!
If it doesn't work, try sudo。
To run the unit tests.
npm run unit-
Switch endless
$broadcastand$dispatchtoVuex, which means sharing the header's state, and using only actions to change the state. -
The repos and profile should be received at the very beginning. Other data fetching such as searching should be done in the front end.(using
sortshould solve this problem perfectly). -
Deploy the project on leancloud.
-
Add unit test with Karma.
-
Finish unit tests.
Markdown is not supported yet.Can't get the language color.It shows wrong answer when view all repos.
I need stars to fill my holes!