Nuxt layer for simple website with basic functions.
npm install simple-content-siteA simple layer for setting up a simple website using Nuxt, Nuxt UI and Nuxt Content.
Minimal version
``bash`
npx nuxi init -t gh:hareland/simple-content-site/.starters/minimal
I18n version
`bash`
npx nuxi init -t gh:hareland/simple-content-site/.starters/i18n
`bash`
npm i simple-content-site
or
`bash`
pnpm add simple-content-site
`ts nuxt.config.ts`
export default defineNuxtConfig({
extends: ['simple-content-site'],
})
`bash`
pnpm dev
There are two types of pages, landing and page, in a future version they will be the same.
#### Landing page
This only covers the front page, either with i18n or without, see examples in the ./playground folder.
This is always the content/index.md or content/[lang]/index.md.
Supports full MDC syntax, and you can implement custom components.
#### Page
Can more or less do exactly the same as a landing page.
To contribute to the CLI tool:
`bashClone this repository...
$3
This is a monorepo containing:
/layer - Content Site Nuxt layer (simple-content-site)
- /playground/minimal - Minimal example project.
- /playground/i18n` - I18n example project- [X] Base structure and functionality
- [X] Support i18n
- [ ] Find a shared setup for landing and page
Contributions are welcome.
Published under the MIT license.
---
Heavily inspired by Docus