This commit is contained in:
SheetJS 2023-06-02 04:09:47 -04:00
commit 20f713306a
13 changed files with 5561 additions and 0 deletions

8
.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
node_modules
*.log*
.nuxt
.nitro
.cache
.output
.env
dist

2
.npmrc Normal file
View File

@ -0,0 +1,2 @@
shamefully-hoist=true
strict-peer-dependencies=false

42
README.md Normal file
View File

@ -0,0 +1,42 @@
# Content v2 Minimal Starter
Look at the [Content documentation](https://content-v2.nuxtjs.org/) to learn more.
## Setup
Make sure to install the dependencies:
```bash
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install
```
## Development Server
Start the development server on http://localhost:3000
```bash
npm run dev
```
## Production
Build the application for production:
```bash
npm run build
```
Locally preview production build:
```bash
npm run preview
```
Checkout the [deployment documentation](https://v3.nuxtjs.org/docs/deployment) for more information.

5
app.vue Normal file
View File

@ -0,0 +1,5 @@
<template>
<div>
<NuxtPage />
</div>
</template>

3
content/about.md Normal file
View File

@ -0,0 +1,3 @@
# About Content v2
[Back home](/)

9
content/index.md Normal file
View File

@ -0,0 +1,9 @@
# Nuxt Content
This page corresponds to the `/` route of your website. You can delete it or create another file in the `content/` directory.
Try to navigate to [/about](/about). These 2 pages are rendered by the `pages/[...slug].vue` component.
---
Look at the [Content documentation](https://content.nuxtjs.org/) to learn more.

4
nuxt.config.ts Normal file
View File

@ -0,0 +1,4 @@
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
modules: ['@nuxt/content']
})

14
package.json Normal file
View File

@ -0,0 +1,14 @@
{
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview"
},
"devDependencies": {
"@nuxt/content": "^2.6.0",
"@types/node": "^20.2.5",
"nuxt": "^3.5.2"
}
}

5
pages/[...slug].vue Normal file
View File

@ -0,0 +1,5 @@
<template>
<main>
<ContentDoc />
</main>
</template>

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

3
server/tsconfig.json Normal file
View File

@ -0,0 +1,3 @@
{
"extends": "../.nuxt/tsconfig.server.json"
}

4
tsconfig.json Normal file
View File

@ -0,0 +1,4 @@
{
// https://v3.nuxtjs.org/concepts/typescript
"extends": "./.nuxt/tsconfig.json"
}

5462
yarn.lock Normal file

File diff suppressed because it is too large Load Diff