Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adinvadim/adinvadim-nuxt
✳️ My Nuxt Layer Starter
https://github.com/adinvadim/adinvadim-nuxt
Last synced: 2 months ago
JSON representation
✳️ My Nuxt Layer Starter
- Host: GitHub
- URL: https://github.com/adinvadim/adinvadim-nuxt
- Owner: adinvadim
- Created: 2024-10-21T14:12:48.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T11:18:26.000Z (2 months ago)
- Last Synced: 2024-11-12T11:36:10.485Z (2 months ago)
- Language: TypeScript
- Size: 640 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuxt Layer Starter
This is a simple Nuxt layer starter project designed to help you quickly set up and develop Nuxt app with a pre-configured layer structure (For me).
## Drizzle
[Drizzle with Nuxt Hub](https://hub.nuxt.com/docs/recipes/drizzle)
And then add this to the `nuxt.config.ts`
```ts
hub: {
database: true,
},
```## Nuxt I18n
[See docs](https://v8.i18n.nuxtjs.org/guide/layers#merging-localesp)
For every project you need to configure locales in `nuxt.config.ts` like this:
Onlye fields `langDir` and `locales` are required.
```ts
i18n: {
langDir: "./locales",
locales: [
{ code: "en", file: "en.yaml" },
{ code: "ru", file: "ru.yaml" },
],
},
```## Local Fonts
For work with local fonts you need put all fonts to public folder.
If your font has bold or italic variant, you need to name it as like `font-name.bold.woff2`.[See docs](https://fonts.nuxt.com/get-started/providers#local)