1
2
3
4
5
6
7
8
9
10
11
12
| import { createApp } from "vue";
|
| import App from "./App.vue";
| import FriendContact from "./components/FriendContact.vue";
| import NewFriend from "./components/NewFriend.vue";
|
| const app = createApp(App);
|
| app.component("friend-contact", FriendContact);
| app.component("new-friend", NewFriend);
|
| app.mount("#app");
|
|