Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
annrie committed Feb 3, 2024
2 parents 4914794 + 99c2a12 commit f45ebf5
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .data/kv/pageVisits
Original file line number Diff line number Diff line change
@@ -1 +1 @@
44
49
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [2.5.1](https://github.com/annrie/Nuxtation/compare/v2.5.0...v2.5.1) (2024-02-03)


### バグ修正

* 🐛 change preset to vercel ([4914794](https://github.com/annrie/Nuxtation/commit/4914794abd8a966f3b2c946c9d89706944869abc))

## [2.5.0](https://github.com/annrie/Nuxtation/compare/v2.4.5...v2.5.0) (2024-02-01)


Expand Down
1 change: 1 addition & 0 deletions content/blog/9.Nuxt3-with-lite-youtube-embed.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: 'Nuxt ContentブログにYouTubeを埋め込む'
description: 'Nuxt ContentブログにYouTubeを埋め込む'
publishedAt: '2023-01-29'
updatedAt: '2024-01-08'
img: 'blog/009.png?mark64=aHR0cHM6Ly9hc3NldHMuaW1naXgubmV0L350ZXh0P3R4dDY0PVRuVjRkQ0JEYjI1MFpXNTA0NE9XNDRPdDQ0S3c0NEdyV1c5MVZIVmlaZU9Da3VXZmktT0NnZWktdk9PQ2dBJnR4dGNscj1mZmYmdHh0c2l6ZT04NCZ3PTEyMDAmdHh0cGFkPTIwJnR4dGZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNoYWQ9NSZiZz0gMzgwOTY0OUUmdHh0YWxpZ249Y2VudGVy&markalign=center,middle&markpad=0&fit=crip'
alt: 'Embed youtube'
tags: [nuxt, web development, youtube]
Expand Down
36 changes: 26 additions & 10 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ linkChecker: {
payloadExtraction: false,
sharedPrerenderData: true,
viewTransition: true,
inlineSSRStyles: true,
inlineSSRStyles: false,
scanPageMeta: true,
renderJsonPayloads: true,
typedPages: true,
Expand Down Expand Up @@ -322,7 +322,7 @@ colorMode: {
},

sourcemap: {
"server": false,
"server": true,
"client": false,
},
sitemap: {
Expand Down Expand Up @@ -359,12 +359,20 @@ robots: {
},

nitro: {
future: {
nativeSWR: true,
devProxy: {
host: 'localhost',
},
// preset: 'node-server',
// future: {
// nativeSWR: true,
// },
preset: 'vercel',
// static: true,
esbuild: {
options: {
target: 'esnext',
},
plugins: [ '~/plugins/nitro.error.ts' ],
},
// wasm: {
// rollup: {
// targetEnv: 'browser',
Expand Down Expand Up @@ -399,19 +407,27 @@ robots: {

router: {
options: {
strict: true,
scrollBehaviorType: 'smooth',
strict: false,
}
},

vite: {
vue: {
defineModel: true,
customElement: true,
// customElement: true,
propsDestructure: true,
compilerOptions: {
isCustomElement: (tag: string) => ['LiteYoutube'].includes(tag),
},
},
vite: {
// vue: {
// defineModel: true,
// customElement: true,
// propsDestructure: true,
// compilerOptions: {
// isCustomElement: (tag: string) => ['LiteYoutube'].includes(tag),
// },
// },
build: {
target: 'esnext',
chunkSizeWarningLimit: 1600, // Adjust as needed
Expand Down Expand Up @@ -444,7 +460,7 @@ robots: {

$production: {
routeRules: {
'/**': { isr: 60 },
'/**': { prerender: true },
// '/blog/**': { prerender: true },
},
},
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"main": "./nuxt.config.ts",
"private": true,
"version": "2.5.0",
"version": "2.5.1",
"description": "Nuxtation project",
"author": "annrie <annrie@users.noreply.github.com>",
"scripts": {
Expand Down

0 comments on commit f45ebf5

Please sign in to comment.