Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/Nuxt Content #5

Merged
merged 4 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/web/app/content/sample.md
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)
1 change: 1 addition & 0 deletions apps/web/app/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<template>
<ContentDoc path="sample" />
<NuxtWelcome />
</template>
4 changes: 2 additions & 2 deletions apps/web/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({

Check warning on line 2 in apps/web/nuxt.config.ts

View workflow job for this annotation

GitHub Actions / lint (18.19.0)

'defineNuxtConfig' is not defined
srcDir: 'app/',
modules: ['@vuejs-jp/vuefes-ui'],
modules: ['@vuejs-jp/vuefes-ui', '@nuxt/content'],
devtools: { enabled: true },
})
});
Binary file modified bun.lockb
Binary file not shown.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@
"workspaces": [
"apps/*",
"packages/*"
]
],
"dependencies": {
"@nuxt/content": "^2.12.0"
}
}
Loading