generated from elonehoo/static
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update the warehouse address to the correct one
- Loading branch information
Showing
16 changed files
with
366 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script setup lang="ts"> | ||
const router = useRouter() | ||
</script> | ||
|
||
<template> | ||
<nav class="text-xl mt-6 inline-flex gap-2"> | ||
<button class="icon-btn" @click="router.push('/')"> | ||
<div i-carbon-home /> | ||
</button> | ||
|
||
<a | ||
class="icon-btn i-carbon-logo-github" | ||
rel="noreferrer" | ||
href="https://github.com/elonehoo-starter/vue" | ||
target="_blank" | ||
title="GitHub" | ||
/> | ||
|
||
<button class="icon-btn" @click="toggleDark()"> | ||
<div class="dark:i-carbon-moon i-carbon-sun" /> | ||
</button> | ||
</nav> | ||
</template> |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
<script setup lang="ts"> | ||
import type { Input } from '~components/input/prop' | ||
const { modelValue } = defineProps<Input>() | ||
const emit = defineEmits(['update:modelValue']) | ||
const model = defineModel<string>() | ||
</script> | ||
|
||
<template> | ||
<input | ||
id="input" | ||
:value="modelValue" | ||
type="text" | ||
v-bind="$attrs" | ||
v-model="model" | ||
type="text" | ||
p="x-4 y-2" | ||
w="250px" | ||
text="center" | ||
bg="transparent" | ||
border="~ rounded gray-200 dark:gray-700" | ||
outline="none active:none" | ||
@input="emit('update:modelValue', $event.target.value)" | ||
> | ||
</template> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`theCounter.vue > should render 1`] = ` | ||
"<div data-loc="/src/components/counter/TheCounter.vue:10" inline-flex="" m="y-3"><button data-loc="/src/components/counter/TheCounter.vue:11" class="dec" btn="" p-2="" rounded-full=""> | ||
<div data-loc="/src/components/counter/TheCounter.vue:12" i-carbon-subtract=""></div> | ||
"<div data-loc="/src/components/counter/Counter.vue:10" inline-flex="" m="y-3"><button data-loc="/src/components/counter/Counter.vue:11" class="dec" btn="" p-2="" rounded-full=""> | ||
<div data-loc="/src/components/counter/Counter.vue:12" i-carbon-subtract=""></div> | ||
</button> | ||
<div data-loc="/src/components/counter/TheCounter.vue:14" font="mono" w="15" m-auto="" inline-block="">10</div><button data-loc="/src/components/counter/TheCounter.vue:17" class="inc" btn="" p-2="" rounded-full=""> | ||
<div data-loc="/src/components/counter/TheCounter.vue:18" i-carbon-add=""></div> | ||
<div data-loc="/src/components/counter/Counter.vue:14" font="mono" w="15" m-auto="" inline-block="">10</div><button data-loc="/src/components/counter/Counter.vue:17" class="inc" btn="" p-2="" rounded-full=""> | ||
<div data-loc="/src/components/counter/Counter.vue:18" i-carbon-add=""></div> | ||
</button> | ||
</div>" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,6 @@ | |
"vite.config.ts", | ||
"auto-imports.d.ts", | ||
"components.d.ts", | ||
"./typed-router.d.ts" | ||
"typed-router.d.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters