s6e95 creating a component
This commit is contained in:
parent
d97482e4d7
commit
3932009d31
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
Server status {{status}}
|
||||
<app-server-status></app-server-status>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
import Vue from 'vue'
|
||||
import App from './App.vue'
|
||||
import Home from './Home.vue'
|
||||
|
||||
Vue.component('app-server-status', Home);
|
||||
|
||||
new Vue({
|
||||
el: '#app',
|
||||
|
Loading…
Reference in New Issue
Block a user