|
@ -1,32 +1,29 @@ |
|
|
<template> |
|
|
<template> |
|
|
<img alt="Vue logo" src="./assets/logo.png" width="150" /> |
|
|
|
|
|
<HelloWorld :msg="title" /> |
|
|
|
|
|
<HelloWorldSfc :msg="title" /> |
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
|
<img alt="Vue logo" src="./assets/logo.png" width="150" /> |
|
|
|
|
|
<HelloWorld :msg="title" /> |
|
|
|
|
|
<footer style="margin-top: 2em"> |
|
|
AGPLv3 : |
|
|
AGPLv3 : |
|
|
<a :href="origin" alt="origin"> |
|
|
<a :href="origin" alt="origin"> |
|
|
{{ version }} |
|
|
|
|
|
|
|
|
{{ version }} |
|
|
</a> |
|
|
</a> |
|
|
|
|
|
</footer> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script lang="ts"> |
|
|
<script lang="ts"> |
|
|
/* standard composition api */ |
|
|
|
|
|
/* eslint-disable no-undef */ |
|
|
/* eslint-disable no-undef */ |
|
|
|
|
|
|
|
|
import HelloWorld from './components/HelloWorld.vue' |
|
|
import HelloWorld from './components/HelloWorld.vue' |
|
|
import HelloWorldSfc from './components/HelloWorldSfc.vue' |
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: 'App', |
|
|
|
|
|
components: { |
|
|
|
|
|
HelloWorld, |
|
|
|
|
|
HelloWorldSfc |
|
|
|
|
|
}, |
|
|
|
|
|
setup() { |
|
|
|
|
|
return { |
|
|
|
|
|
title: APP_TITLE, |
|
|
|
|
|
version: APP_VERSION, |
|
|
|
|
|
origin: APP_ORIGIN |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
name: 'App', |
|
|
|
|
|
components: { |
|
|
|
|
|
HelloWorld |
|
|
|
|
|
}, |
|
|
|
|
|
setup() { |
|
|
|
|
|
return { |
|
|
|
|
|
title: APP_TITLE, |
|
|
|
|
|
version: APP_VERSION, |
|
|
|
|
|
origin: APP_ORIGIN |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |