first commit
This commit is contained in:
6
src/components/FrameworkLink.vue
Normal file
6
src/components/FrameworkLink.vue
Normal file
@@ -0,0 +1,6 @@
|
||||
<template>
|
||||
<a target="_blank" href="https://v3.vuejs.org/">
|
||||
Vue 3
|
||||
<slot />
|
||||
</a>
|
||||
</template>
|
||||
42
src/components/HelloWorld.vue
Normal file
42
src/components/HelloWorld.vue
Normal file
@@ -0,0 +1,42 @@
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
msg: String
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="greetings">
|
||||
<h1 class="green">{{ msg }}</h1>
|
||||
<h3>
|
||||
You’ve successfully created a project with
|
||||
<a target="_blank" href="https://iles-docs.netlify.app/">îles</a> +
|
||||
<a target="_blank" href="https://vitejs.dev/">Vite</a> + <FrameworkLink client:none />. What's
|
||||
next?
|
||||
</h3>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
h1 {
|
||||
font-weight: 500;
|
||||
font-size: 2.6rem;
|
||||
top: -10px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.greetings h1,
|
||||
.greetings h3 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.greetings h1,
|
||||
.greetings h3 {
|
||||
display: block;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
1
src/components/Welcome.vue
Normal file
1
src/components/Welcome.vue
Normal file
@@ -0,0 +1 @@
|
||||
<template>Home</template>
|
||||
Reference in New Issue
Block a user