s6e95 creating a component

This commit is contained in:
Tyrel Souza 2018-04-16 23:28:47 -04:00
parent d97482e4d7
commit 3932009d31
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<div id="app">
Server status {{status}}
<app-server-status></app-server-status>
</div>
</template>

View File

@ -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',