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