You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
421 B
32 lines
421 B
<template> |
|
<div class="app"> |
|
<h1>{{ msg }}</h1> |
|
<School/> |
|
<Student/> |
|
</div> |
|
</template> |
|
|
|
<script> |
|
import School from "./components/School.vue"; |
|
import Student from "./components/Student.vue"; |
|
|
|
export default { |
|
name: "App", |
|
components: { |
|
School, |
|
Student |
|
}, |
|
data() { |
|
return { |
|
msg: "Hello:", |
|
} |
|
} |
|
} |
|
</script> |
|
|
|
<style> |
|
.app { |
|
background-color: gray; |
|
padding: 15px |
|
} |
|
</style> |