This repository has been archived on 2021-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
vuejs_course/2021-01-25 vue-cli-01-a-new.../src/main.js

15 lines
328 B
JavaScript
Raw Permalink Normal View History

"use strict";
2021-01-25 17:21:35 +01:00
import { createApp } from "vue";
2021-01-25 20:42:59 +01:00
2021-01-25 17:49:25 +01:00
import App from "./App.vue";
2021-02-01 20:33:28 +01:00
import FriendContact from "./components/FriendContact.vue";
import NewFriend from "./components/NewFriend.vue";
2021-01-25 17:21:15 +01:00
2021-01-25 18:00:09 +01:00
const app = createApp(App);
app.component("friend-contact", FriendContact);
2021-02-01 20:33:28 +01:00
app.component("new-friend", NewFriend);
2021-01-25 18:00:09 +01:00
app.mount("#app");