-
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.
Merge pull request #5 from vuejs-jp/feat/nuxt-content
Feat/Nuxt Content
- Loading branch information
Showing
5 changed files
with
13 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- Nuxt Contentを正常に導入できたことを確認するためのファイル | ||
- pages/index.vue で利用している | ||
TODO: 他contentを作成する際に削除する | ||
--> | ||
# Hello Nuxt Content (sample.md) |
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,4 +1,5 @@ | ||
<template> | ||
<ContentDoc path="sample" /> | ||
<I18nSample /> | ||
<NuxtWelcome /> | ||
</template> |
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,9 +1,9 @@ | ||
// https://nuxt.com/docs/api/configuration/nuxt-config | ||
export default defineNuxtConfig({ | ||
srcDir: 'app/', | ||
modules: ['@vuejs-jp/vuefes-ui', '@nuxtjs/i18n'], | ||
modules: ['@vuejs-jp/vuefes-ui', '@nuxtjs/i18n', '@nuxt/content'], | ||
i18n: { | ||
vueI18n: './i18n.config.ts', | ||
}, | ||
devtools: { enabled: true }, | ||
}) | ||
}); |
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 |
---|---|---|
|
@@ -24,5 +24,8 @@ | |
"workspaces": [ | ||
"apps/*", | ||
"packages/*" | ||
] | ||
], | ||
"dependencies": { | ||
"@nuxt/content": "^2.12.0" | ||
} | ||
} |