|
@@ -1,29 +1,32 @@
|
|
<template>
|
|
<template>
|
|
<div id="app">
|
|
<div id="app">
|
|
<Header msg="Welcome to Your Vue.js App" />
|
|
<Header msg="Welcome to Your Vue.js App" />
|
|
|
|
+ <v-content msg="" />
|
|
<Footer />
|
|
<Footer />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
- import Header from "./components/Header.vue";
|
|
|
|
- import Footer from "./components/Footer.vue";
|
|
|
|
|
|
+import Header from "./components/Header.vue";
|
|
|
|
+import Footer from "./components/Footer.vue";
|
|
|
|
+import Content from "./components/Conent.vue";
|
|
|
|
|
|
- export default {
|
|
|
|
- name: "App",
|
|
|
|
- components: {
|
|
|
|
- Header, Footer
|
|
|
|
- },
|
|
|
|
- };
|
|
|
|
|
|
+export default {
|
|
|
|
+ name: "App",
|
|
|
|
+ components: {
|
|
|
|
+ Header,
|
|
|
|
+ Footer,
|
|
|
|
+ "v-content": Content,
|
|
|
|
+ },
|
|
|
|
+};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style>
|
|
<style>
|
|
- #app {
|
|
|
|
- font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
|
|
- -webkit-font-smoothing: antialiased;
|
|
|
|
- -moz-osx-font-smoothing: grayscale;
|
|
|
|
- text-align: center;
|
|
|
|
- color: #300307;
|
|
|
|
- margin-top: 60px;
|
|
|
|
- }
|
|
|
|
|
|
+#app {
|
|
|
|
+ font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
|
|
+ -webkit-font-smoothing: antialiased;
|
|
|
|
+ -moz-osx-font-smoothing: grayscale;
|
|
|
|
+ text-align: center;
|
|
|
|
+ color: #300307;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|