feat: 增加head相关,增加logo
This commit is contained in:
1 parent
3d385a7550
commit
d9a7eb76c1
6 files changed
+18
-2
No files matched your search
@@ -11,6 +11,13 @@
|
||||
import miaoHeader from './components/miaoHeader.vue';
|
||||
import miaoContentWarpper from './components/miaoContentWarpper.vue';
|
||||
|
||||
useHead({
|
||||
title: '杪 Blog',
|
||||
meta: [
|
||||
{ name: 'description', content: '杪儿的博客' }
|
||||
],
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
height: calc(100vh - 60px);
|
||||
max-height: calc(100vh - 60px);
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
// max-width: 1200px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -111,6 +111,10 @@ const switchItemShow = (item: PageContent) => {
|
||||
item.show = !item.show
|
||||
}
|
||||
|
||||
// useHead({
|
||||
// title: '杪 Blog | 首页',
|
||||
// })
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
+6
-1
@@ -1,4 +1,9 @@
|
||||
{
|
||||
// https://nuxt.com/docs/guide/concepts/typescript
|
||||
"extends": "./.nuxt/tsconfig.json"
|
||||
"extends": "./.nuxt/tsconfig.json",
|
||||
"exclude": [
|
||||
".output",
|
||||
"node_modules",
|
||||
".nuxt",
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user