style: lint fix

This commit is contained in:
pengzhanbo 2023-06-30 19:22:49 +08:00
parent 8dbf3868b2
commit ce7eeed087
2 changed files with 6 additions and 3 deletions

View File

@ -1,9 +1,11 @@
<script lang="ts" setup>
import { useSidebar } from '../composables/index.js'
const { hasSidebar } = useSidebar()
const props = defineProps(["isNotFound"])
const props = defineProps<{
isNotFound?: boolean
}>()
const { hasSidebar } = useSidebar()
</script>
<template>
<div

View File

@ -3,13 +3,14 @@ import { withBase } from '@vuepress/client'
import { ref } from 'vue'
import LayoutContent from '../components/LayoutContent.vue'
import Nav from '../components/Nav/index.vue'
const root = ref('/')
</script>
<template>
<div class="theme-plume">
<Nav />
<LayoutContent :isNotFound="true">
<LayoutContent is-not-found>
<div class="not-found">
<p class="code">404</p>
<h1 class="title">PAGE NOT FOUND</h1>