-
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.
- Loading branch information
Showing
26 changed files
with
565 additions
and
123 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"cSpell.words": ["feedme", "ijust", "openmoji", "tdesign"] | ||
"cSpell.words": ["feedme", "ijust", "nuxthq", "openmoji", "tdesign"] | ||
} |
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,3 +1,9 @@ | ||
# nuxt-ijust.cc | ||
|
||
日常记录 | ||
|
||
技术栈: | ||
|
||
- nuxt + nuxt content + nuxt studio | ||
|
||
ijust.cc by nuxt |
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,45 @@ | ||
<template> | ||
<!-- 上一页 --> | ||
<nuxt-link v-if="pager.current > 1" :to="goPrev"> | ||
<var-button text type="primary"> | ||
<icon name="material-symbols:chevron-left" /> | ||
<span>Prev</span> | ||
</var-button> | ||
</nuxt-link> | ||
<var-button text disabled> | ||
{{ pager.current }} / | ||
{{ maxPage }} | ||
</var-button> | ||
<!-- 下一页 --> | ||
<nuxt-link v-if="pager.current < maxPage" :to="goNext"> | ||
<var-button text type="primary"> | ||
<span>Next</span> | ||
<icon name="material-symbols:chevron-right" /> | ||
</var-button> | ||
</nuxt-link> | ||
</template> | ||
<script lang="ts" setup> | ||
const props = defineProps<{ | ||
pager: { | ||
current: number; | ||
size: number; | ||
total: number; | ||
}; | ||
basePath: string; | ||
}>(); | ||
const maxPage = computed(() => Math.ceil(props.pager.total / props.pager.size)); | ||
const goPrev = computed(() => { | ||
return { | ||
path: `${props.basePath}/${props.pager.current - 1}`, | ||
}; | ||
}); | ||
const goNext = computed(() => { | ||
return { | ||
path: `${props.basePath}/${props.pager.current + 1}`, | ||
}; | ||
}); | ||
</script> | ||
|
||
<style></style> |
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,3 +1,7 @@ | ||
--- | ||
tags: ["nuxt"] | ||
--- | ||
|
||
## Hello World | ||
|
||
Hi,这是我的小站。233 | ||
|
File renamed without changes.
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,9 @@ | ||
--- | ||
date: 2023-10-08 18:44:38 | ||
title: 介绍 Nuxt | ||
keywords: nuxt | ||
description: 介绍下 nuxt 分享 | ||
tags: ["nuxt"] | ||
--- | ||
|
||
nuxt |
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ description: > | |
领域的 EsBuild。 | ||
order: 0 | ||
tags: | ||
- syntax.fm | ||
- SyntaxFM | ||
--- | ||
|
||
音频听不了?可通过下面方式收听: | ||
|
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
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,6 +1,4 @@ | ||
<template> | ||
<NuxtPage /> | ||
</template> | ||
<template></template> | ||
<script lang="ts" setup> | ||
const router = useRouter(); | ||
|
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,6 +1,10 @@ | ||
<template> | ||
<c-list category="blogs" /> | ||
</template> | ||
<script lang="ts" setup></script> | ||
<template></template> | ||
<script lang="ts" setup> | ||
const router = useRouter(); | ||
router.replace({ | ||
path: "/blogs/page/1", | ||
}); | ||
</script> | ||
|
||
<style></style> |
Oops, something went wrong.