Hello World
metanuxt
This is the first post on the new site, built with Nuxt Content v3.
Code Highlighting
Here's some TypeScript:
interface Post {
title: string
description: string
date: string
tags: string[]
}
function formatDate(date: string): string {
return new Date(date).toLocaleDateString('en-US', {
year: 'numeric',
month: 'long',
day: 'numeric',
})
}
A Vue component:
<script lang="ts" setup>
const count = ref(0)
</script>
<template>
<button @click="count++">Count: {{ count }}</button>
</template>
And some shell commands:
npm install @nuxt/content
npx nuxi dev
What's Next
More writing, game reviews, and project showcases coming soon.