Skip to content

Instantly share code, notes, and snippets.

@boonyasukd
Created June 27, 2017 09:35
Show Gist options
  • Save boonyasukd/2ce3ea36475e86aab45db259fdb21801 to your computer and use it in GitHub Desktop.
Save boonyasukd/2ce3ea36475e86aab45db259fdb21801 to your computer and use it in GitHub Desktop.
assignment6
<template>
<div class="container">
<my-header></my-header>
<hr>
<my-status-pane></my-status-pane>
<hr>
<my-footer></my-footer>
</div>
</template>
<template>
<div class="row">
<div class="col-xs-12">
<header>
<h1>Server Status</h1>
</header>
</div>
</div>
</template>
import Vue from 'vue'
import App from './App.vue'
import Header from './Header.vue'
import Footer from './Footer.vue'
import StatusPane from './StatusPane.vue'
Vue.component('my-header', Header)
Vue.component('my-footer', Footer)
Vue.component('my-status-pane', StatusPane)
new Vue({
el: '#app',
render: h => h(App)
})
<template>
<div class="row">
<div class="col-xs-12 col-sm-6">
<ul class="list-group">
<li class="list-group-item" v-for="index in 5" :key="index">
Server #{{ index }}
</li>
</ul>
</div>
<div class="col-xs-12 col-sm-6">
<p>Server Details are currently not updated</p>
</div>
</div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment