{"id":20226300,"url":"https://github.com/mathix420/nuxt-layer","last_synced_at":"2026-03-04T04:02:58.251Z","repository":{"id":259235703,"uuid":"877364211","full_name":"mathix420/nuxt-layer","owner":"mathix420","description":"Opinionated Nuxt Starter Layer","archived":false,"fork":false,"pushed_at":"2025-11-17T19:38:31.000Z","size":1021,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-17T20:20:09.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathix420.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-23T14:22:55.000Z","updated_at":"2025-11-17T19:36:40.000Z","dependencies_parsed_at":"2024-10-23T19:12:07.070Z","dependency_job_id":"61eb58b4-bcac-441b-856b-58fcb07c888c","html_url":"https://github.com/mathix420/nuxt-layer","commit_stats":null,"previous_names":["mathix420/nuxt-layer"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/mathix420/nuxt-layer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathix420%2Fnuxt-layer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathix420%2Fnuxt-layer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathix420%2Fnuxt-layer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathix420%2Fnuxt-layer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathix420","download_url":"https://codeload.github.com/mathix420/nuxt-layer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathix420%2Fnuxt-layer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30071670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T03:25:38.285Z","status":"ssl_error","status_checked_at":"2026-03-04T03:25:05.086Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T07:17:17.040Z","updated_at":"2026-03-04T04:02:58.245Z","avatar_url":"https://github.com/mathix420.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Opinionated Nuxt Starter Layer\n\n\u003e Quickly start your Nuxt project with the best modules and tooling.\n\n- [`@nuxt/content`](https://nuxt.com/modules/content)\n- [`@nuxt/scripts`](https://nuxt.com/modules/scripts)\n- [`@nuxtjs/seo`](https://nuxt.com/modules/seo)\n- [`@nuxt/fonts`](https://nuxt.com/modules/fonts)\n- [`@nuxt/image`](https://nuxt.com/modules/image)\n- [`nuxt-headlessui`](https://nuxt.com/modules/headlessui)\n- [Tailwind CSS](https://tailwindcss.com/) via [`@tailwindcss/vite`](https://github.com/tailwindlabs/tailwindcss/tree/main/packages/%40tailwindcss/vite)\n  - [Blank config](/tailwind.config.cjs)\n  - With Plugins:\n    - [@tailwindcss/typography](https://github.com/tailwindlabs/tailwindcss-typography)\n    - [@tailwindcss/forms](https://github.com/tailwindlabs/tailwindcss-forms)\n    - [@tailwindcss/aspect-ratio](https://github.com/tailwindlabs/tailwindcss-aspect-ratio)\n    - [tailwind-scrollbar-hide](https://github.com/reslear/tailwind-scrollbar-hide)\n- [`@nuxt/icon`](https://nuxt.com/modules/icon)\n- [`@nuxt/eslint`](https://nuxt.com/modules/eslint)\n  - With [stylistic preferences](/nuxt.config.ts) and a [few rules](/eslint.config.mjs)\n  - With [eslint-plugin-better-tailwindcss](https://github.com/schoero/eslint-plugin-better-tailwindcss)\n\n## Nuxt Image v2 upgrade\n\n`@nuxt/image@^2` now ships with this layer so you immediately benefit from the new TypeScript-first API (`defineProvider`, typed `useImage()`/`$img` helpers) and the upgraded IPX v3 backend + server utilities. You can drop the snippets from the launch blog straight into your app layer:\n\n```ts\n// app/providers/my-provider.ts\nimport { defineProvider } from \"@nuxt/image/runtime\";\n\nexport default defineProvider({\n  name: \"my-provider\",\n  getImage(src, { modifiers, baseURL }) {\n    return {\n      url: new URL(src, baseURL).toString(),\n      isStatic: true,\n    };\n  },\n});\n```\n\nNuxt Image v2 aligns its default responsive screen sizes with Tailwind CSS which removes the legacy `xs` (320px) and `xxl` (2560px) breakpoints. If you need those sizes (or any other custom grid), add them in your own config layer:\n\n```ts\nexport default defineNuxtConfig({\n  extends: [\"@mathix420/nuxt-layer\"],\n  image: {\n    screens: {\n      xs: 320,\n      sm: 640,\n      md: 768,\n      lg: 1024,\n      xl: 1280,\n      \"2xl\": 1536,\n      xxl: 2560,\n    },\n  },\n});\n```\n\nKeep an eye on the [official migration guide](https://image.nuxt.com/getting-started/migration) for more advanced recipes such as Shopify/GitHub providers, direct Nitro usage, or tailoring the breakpoint map.\n\n## Get started\n\n### Install the layer with your preferred package manager.\n```bash\nbun i @mathix420/nuxt-layer\n# or\nnpm i @mathix420/nuxt-layer\n```\n\nUpdate your nuxt config to extend from this layer.\n```ts\nexport default defineNuxtConfig({\n  extends: [\n    \"@mathix420/nuxt-layer\",\n  ]\n})\n```\n\n### Generate typings and init modules.\n```bash\nbunx nuxi prepare\n# or\nnpx nuxi prepare\n```\n\n### Load eslint presets.\n```bash\n# may not be needed anymore\nbun pm trust @mathix420/nuxt-layer\n```\n```js\n// eslint.config.mjs\n// @ts-check\n// @ts-ignore\nimport cfg from \"@mathix420/nuxt-layer/eslint.config.mjs\";\nimport withNuxt from \"./.nuxt/eslint.config.mjs\";\n\nexport default withNuxt(\n  cfg,\n  {\n    settings: {\n      \"better-tailwindcss\": {\n        tailwindConfig: \"tailwind.config.cjs\",\n      },\n    },\n  },\n);\n```\n\n### Copy VS Code settings, be careful they'll be overwritten.\n```bash\ncp -r node_modules/@mathix420/nuxt-layer/.vscode .\n```\n\n### Upgrade to Nuxt v4\nRun the official upgrade command to pull in the latest Nuxt release, then execute Nuxt's codemod recipe to automatically apply the framework changes that shipped with v4.\n\n```bash\nnpx nuxt upgrade\n# or\nbun x nuxt upgrade\n```\n\n```bash\nbunx codemod@0.18.7 nuxt/4/migration-recipe\n```\n\n\u003e Tip: after upgrading, you can preview upcoming Nuxt 5 behavior by setting `future: { compatibilityVersion: 5 }` in your own project.\n\n### Setup renovate\n\n`renovate.json`:\n```json\n{\n    \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\",\n    \"extends\": [\n        \"github\u003emathix420/nuxt-layer\"\n    ]\n}\n```\n\n## Dev\n\n### Setup\n\nMake sure to install dependencies:\n\n```bash\nbun install\n```\n\n### Development Server\n\nStart the development server on `http://localhost:3000`:\n\n```bash\nbun dev\n```\n\n### Upgrade deps\n\n```bash\nbunx npm-check-updates -i --format group\n```\n\nCheck out the [Nuxt layer documentation](https://nuxt.com/docs/getting-started/layers) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathix420%2Fnuxt-layer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathix420%2Fnuxt-layer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathix420%2Fnuxt-layer/lists"}