Demo: https://trinly01.github.io/perch-frontend-test/post/1
npm i
npm run serve
- Use the composition api and TypeScript to write your components.
- Hook up the previous and next buttons in
App.vue
to cycle through posts from jsonplaceholder using axios. - Display the post title and body in
VPost.vue
for the currently active post.
- Use pinia (it's already installed) to store all posts that are loaded. Then use that store to display already loaded posts.
- Add css styles. (You may install any dependencies you want to use)