Skip to content

Commit

Permalink
feat: adding nuxt content module
Browse files Browse the repository at this point in the history
  • Loading branch information
patelsaajan committed Dec 18, 2024
1 parent 2663398 commit 4cf0ae4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
10 changes: 4 additions & 6 deletions app/pages/about.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<template>
<div>
<h1>About</h1>
</div>
<main>
<ContentDoc />
<h1>hi</h1>
</main>
</template>

<script lang="ts" setup>
</script>

<style lang="scss" scoped>
</style>
5 changes: 5 additions & 0 deletions content/about.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: 'This is the title of the page'
description: 'This is meta data that describes the page'

---
# About Me

Hello! My name is Alex Johnson, and I am a passionate software developer with a love for creating innovative solutions. With over 10 years of experience in the tech industry, I have honed my skills in various programming languages and frameworks.
Expand Down
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default defineNuxtConfig({
'@nuxt/ui',
'@nuxt/image',
'@nuxthq/studio',
'@nuxt/content',
],
image: {}
})
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
"@nuxt/content": "2.13.4",
"@nuxt/image": "^1.8.1",
"@nuxt/ui": "^2.20.0",
"add": "^2.0.6",
Expand Down

0 comments on commit 4cf0ae4

Please sign in to comment.