Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fimion/vue-exercise-master
https://github.com/fimion/vue-exercise-master
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fimion/vue-exercise-master
- Owner: fimion
- Created: 2019-04-01T10:56:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-01T10:58:32.000Z (over 5 years ago)
- Last Synced: 2024-12-12T20:15:38.699Z (10 days ago)
- Language: JavaScript
- Size: 120 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vue Exercise
Please submit a pull request to this repo implementing the following feature:
Create a Vuex module and component(s) to display blog post data from the following web service:
- Display the posts for the current user in the left column, and posts for all other users in the right column. For the purposes of this exercise, you can hard-code the “current user ID” to 1.
- Handle both loading and error states.
- Unit test both the Vuex module and component(s). Cover all the important behavior of the code with tests, and get 100% test coverage for all metrics shown in the unit test output. For the purposes of this exercise, don't worry about doing any end-to-end testing.
- Add enough CSS to get the left/right column layout and make it look clean, but don’t worry about too fancy styling.Feel free to reach out to with questions!
## Build Setup
``` bash
# install dependencies
npm install# serve with hot reload at localhost:8080
npm run dev# run unit tests
npm run unit:watch
```For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).