mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 02:11:49 +08:00
28 lines
560 B
Vue
28 lines
560 B
Vue
<template>
|
|
<img alt="Vue logo" src="./assets/logo.png">
|
|
<HelloWorld msg="Welcome to Your Vue.js + TypeScript App"/>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import HelloWorld from './components/HelloWorld.vue';
|
|
|
|
export default defineComponent({
|
|
name: 'App',
|
|
components: {
|
|
HelloWorld
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<style>
|
|
#app {
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-align: center;
|
|
color: #2c3e50;
|
|
margin-top: 60px;
|
|
}
|
|
</style>
|