Since our microservice is working with GraphQL, we would like to create a simple UI so that we can connect and expose the data we created and interact with it.
Vue.js is a progressive web framework for frontend applications that was created by Evan You. Vue.js stands out because of its simplicity in performing the same tasks as other frameworks.
Since this book is not about Vue.js, we recommend that you go to the Vue.js documentation to learn more: https://vuejs.org/.
The first step is to install Vue.js and the Vue.js CLIs:
$ npm install -g @vue/cli-init vue
After that, create a new project called client with the following command:
$ vue init webpack client
? Project name client
? Project description Order client
? Author Biharck Araujo <[email protected]>
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? Yes
? Pick...