# Install JSON Server Globally
npm install -g json-server
# #Install JSON Server Locally
npm install json-server
# Check JSON Server version
json-server --version
# Run JSON server
json-server --watch db.json
# Change the server PORT
json-server --watch db.json --port 4000
$ json-server --watch db.json --port 3004
// Font awesome install vue
// 1
npm install --save @fortawesome/fontawesome-svg-core
npm install --save @fortawesome/free-solid-svg-icons
npm install --save @fortawesome/vue-fontawesome@prerelease
//2
import { createApp } from "vue";
import App from "./App.vue";
import { library } from "@fortawesome/fontawesome-svg-core";
import { faPhone } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
library.add(faPhone);
createApp(App).component("font-awesome-icon", FontAwesomeIcon).mount("#app");
// 3
<template>
<h1>Getting Started with Vue.js and Font Awesome</h1>
<p>Have a phone call: <font-awesome-icon icon="phone" /></p>
</template>