initial post-installation commit
This commit is contained in:
commit
a44ee45a38
20 changed files with 2676 additions and 0 deletions
30
src/App.vue
Normal file
30
src/App.vue
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<script setup lang="ts">
|
||||
import HelloWorld from './components/HelloWorld.vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<a href="https://vite.dev" target="_blank">
|
||||
<img src="/vite.svg" class="logo" alt="Vite logo" />
|
||||
</a>
|
||||
<a href="https://vuejs.org/" target="_blank">
|
||||
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
|
||||
</a>
|
||||
</div>
|
||||
<HelloWorld msg="Vite + Vue" />
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.logo {
|
||||
height: 6em;
|
||||
padding: 1.5em;
|
||||
will-change: filter;
|
||||
transition: filter 300ms;
|
||||
}
|
||||
.logo:hover {
|
||||
filter: drop-shadow(0 0 2em #646cffaa);
|
||||
}
|
||||
.logo.vue:hover {
|
||||
filter: drop-shadow(0 0 2em #42b883aa);
|
||||
}
|
||||
</style>
|
||||
76
src/assets/index.css
Normal file
76
src/assets/index.css
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
@import "tailwindcss";
|
||||
|
||||
/* @layer base { */
|
||||
/* :root { */
|
||||
/* --background: 0 0% 100%; */
|
||||
/* --foreground: 222.2 84% 4.9%; */
|
||||
/**/
|
||||
/* --muted: 210 40% 96.1%; */
|
||||
/* --muted-foreground: 215.4 16.3% 46.9%; */
|
||||
/**/
|
||||
/* --popover: 0 0% 100%; */
|
||||
/* --popover-foreground: 222.2 84% 4.9%; */
|
||||
/**/
|
||||
/* --card: 0 0% 100%; */
|
||||
/* --card-foreground: 222.2 84% 4.9%; */
|
||||
/**/
|
||||
/* --border: 214.3 31.8% 91.4%; */
|
||||
/* --input: 214.3 31.8% 91.4%; */
|
||||
/**/
|
||||
/* --primary: 222.2 47.4% 11.2%; */
|
||||
/* --primary-foreground: 210 40% 98%; */
|
||||
/**/
|
||||
/* --secondary: 210 40% 96.1%; */
|
||||
/* --secondary-foreground: 222.2 47.4% 11.2%; */
|
||||
/**/
|
||||
/* --accent: 210 40% 96.1%; */
|
||||
/* --accent-foreground: 222.2 47.4% 11.2%; */
|
||||
/**/
|
||||
/* --destructive: 0 84.2% 60.2%; */
|
||||
/* --destructive-foreground: 210 40% 98%; */
|
||||
/**/
|
||||
/* --ring: 222.2 84% 4.9%; */
|
||||
/**/
|
||||
/* --radius: 0.5rem; */
|
||||
/* } */
|
||||
/**/
|
||||
/* .dark { */
|
||||
/* --background: 222.2 84% 4.9%; */
|
||||
/* --foreground: 210 40% 98%; */
|
||||
/**/
|
||||
/* --muted: 217.2 32.6% 17.5%; */
|
||||
/* --muted-foreground: 215 20.2% 65.1%; */
|
||||
/**/
|
||||
/* --popover: 222.2 84% 4.9%; */
|
||||
/* --popover-foreground: 210 40% 98%; */
|
||||
/**/
|
||||
/* --card: 222.2 84% 4.9%; */
|
||||
/* --card-foreground: 210 40% 98%; */
|
||||
/**/
|
||||
/* --border: 217.2 32.6% 17.5%; */
|
||||
/* --input: 217.2 32.6% 17.5%; */
|
||||
/**/
|
||||
/* --primary: 210 40% 98%; */
|
||||
/* --primary-foreground: 222.2 47.4% 11.2%; */
|
||||
/**/
|
||||
/* --secondary: 217.2 32.6% 17.5%; */
|
||||
/* --secondary-foreground: 210 40% 98%; */
|
||||
/**/
|
||||
/* --accent: 217.2 32.6% 17.5%; */
|
||||
/* --accent-foreground: 210 40% 98%; */
|
||||
/**/
|
||||
/* --destructive: 0 62.8% 30.6%; */
|
||||
/* --destructive-foreground: 210 40% 98%; */
|
||||
/**/
|
||||
/* --ring: 212.7 26.8% 83.9%; */
|
||||
/* } */
|
||||
/* } */
|
||||
/**/
|
||||
/* @layer base { */
|
||||
/* * { */
|
||||
/* @apply border-border; */
|
||||
/* } */
|
||||
/* body { */
|
||||
/* @apply bg-background text-foreground; */
|
||||
/* } */
|
||||
/* } */
|
||||
1
src/assets/vue.svg
Normal file
1
src/assets/vue.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>
|
||||
|
After Width: | Height: | Size: 496 B |
36
src/components/HelloWorld.vue
Normal file
36
src/components/HelloWorld.vue
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
|
||||
defineProps<{ msg: string }>()
|
||||
|
||||
const count = ref(0)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<h1>{{ msg }}</h1>
|
||||
|
||||
<div class="card">
|
||||
<button type="button" @click="count++">count is {{ count }}</button>
|
||||
<p>
|
||||
Edit
|
||||
<code>components/HelloWorld.vue</code> to test HMR
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Check out
|
||||
<a href="https://vuejs.org/guide/quick-start.html#local" target="_blank">create-vue</a>, the official Vue + Vite
|
||||
starter
|
||||
</p>
|
||||
<p class="bg-red-100">
|
||||
Learn more about IDE Support for Vue in the
|
||||
<a href="https://vuejs.org/guide/scaling-up/tooling.html#ide-support" target="_blank">Vue Docs Scaling up Guide</a>.
|
||||
</p>
|
||||
<p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.read-the-docs {
|
||||
color: #888;
|
||||
}
|
||||
</style>
|
||||
6
src/lib/utils.ts
Normal file
6
src/lib/utils.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { type ClassValue, clsx } from 'clsx'
|
||||
import { twMerge } from 'tailwind-merge'
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
}
|
||||
5
src/main.ts
Normal file
5
src/main.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
import './assets/index.css'
|
||||
|
||||
createApp(App).mount('#app')
|
||||
1
src/vite-env.d.ts
vendored
Normal file
1
src/vite-env.d.ts
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/// <reference types="vite/client" />
|
||||
Loading…
Add table
Add a link
Reference in a new issue