{"id":41740529,"url":"https://github.com/srcdev/nuxt-forms","last_synced_at":"2026-01-29T23:13:24.746Z","repository":{"id":245744379,"uuid":"818784013","full_name":"srcdev/nuxt-forms","owner":"srcdev","description":"Nuxt3 Forms layer with Zod validation and themes","archived":false,"fork":false,"pushed_at":"2026-01-24T22:09:47.000Z","size":771,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-25T10:53:47.859Z","etag":null,"topics":["forms","modern-css","nuxt-layers","nuxt3","zod-validation"],"latest_commit_sha":null,"homepage":"https://nuxt-forms-one.vercel.app","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srcdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-06-22T21:22:16.000Z","updated_at":"2026-01-24T22:09:51.000Z","dependencies_parsed_at":"2024-07-05T18:16:20.009Z","dependency_job_id":"86eb497a-310c-4e00-b2c3-e85ac476ac90","html_url":"https://github.com/srcdev/nuxt-forms","commit_stats":null,"previous_names":["srcdev/nuxt-forms"],"tags_count":143,"template":false,"template_full_name":null,"purl":"pkg:github/srcdev/nuxt-forms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcdev%2Fnuxt-forms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcdev%2Fnuxt-forms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcdev%2Fnuxt-forms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcdev%2Fnuxt-forms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srcdev","download_url":"https://codeload.github.com/srcdev/nuxt-forms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcdev%2Fnuxt-forms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28889866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"ssl_error","status_checked_at":"2026-01-29T21:06:42.160Z","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":["forms","modern-css","nuxt-layers","nuxt3","zod-validation"],"created_at":"2026-01-25T00:12:48.074Z","updated_at":"2026-01-29T23:13:24.723Z","avatar_url":"https://github.com/srcdev.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nuxt Forms Layer\n\n## NOTE: This is personal forms setup and not necessarily intended for widespread use\n\n## Layer extended into barebones project\n\nCheckout the repo [SRCDEV Nuxt Forms being extended as layer into another Nuxt project](https://github.com/srcdev/nuxt-extend-nuxt-forms)\n\n## Setup\n\nMake sure to install the dependencies:\n\n```bash\nnpm install\n```\n\n## Distributing your theme\n\n### Release it\n\nCLI Prompt assisted release and versioning\n\n```bash\nnpm run release\n```\n\n## Install Nuxt Forms\n\n```bash\nnpm install --save srcdev-nuxt-forms\n```\n\nThen add the dependency to their `extends` in `nuxt.config`:\n\n```ts\ndefineNuxtConfig({\n  extends: 'srcdev-nuxt-forms',\n});\n```\n\n## Development Server\n\nStart the development server on \u003chttps://localhost:3000\u003e\n\n```bash\nnpm dev\n```\n\n## Browser https error\n\nIf you do not get a proceed to site ssl error, then you need to reset HSTS settings in browser\n\n- Clearing all data for the site\n- Click on the button to the left of the address bar\n- Site settings\n- Delete data\n- Go to chrome://net-internals/#hsts and enter localhost into Delete domain security policies (or whichever domain you're having trouble with)\n- Restart your browser\n\n## Production\n\nBuild the application for production:\n\n```bash\nnpm build\n```\n\nOr statically generate it with:\n\n```bash\nnpm generate\n```\n\nLocally preview production build:\n\n```bash\nnpm preview\n```\n\n## Themes\n\nStyles exist for multiple themes/variants, primary, secondary, tertiary, error etc.\n\nColour scheme can be updated by modifying the css colour variables\n\n## Styles Architecture\n\nThe `/app/assets/styles` folder contains the CSS architecture for this Nuxt layer, organized into two main directories:\n\n### `/app/assets/styles/setup/`\n\nThis directory contains the foundational styles that will be mirrored in any app that extends this layer. It includes:\n\n- **`index.css`** - Main setup file that imports all setup modules\n- **`_head.css`** - Head-level styles and document setup\n- **`a11y/`** - Accessibility utilities and variables\n- **`theming/`** - Theme definitions, color schemes, and theme variants\n- **`typography/`** - Typography setup, font definitions, and text utility classes\n- **`utility-classes/`** - General utility classes including fluid spacing and animations\n\nThese styles form the base layer and will be automatically available in any app that extends this layer.\n\n### `/app/assets/styles/extends-layer/srcdev-forms/`\n\nThis directory contains override styles specifically for apps that extend this layer. It includes:\n\n- **`index.css`** - Main override file\n- **`components/`** - Component-specific overrides\n- **`setup/`** - Setup overrides for extended apps\n\nThis folder structure will also be present in the extending app's assets directory, allowing for easy customization and theming.\n\n### Layer Override Namespace\n\nTo enable proper CSS override functionality, the extending app must include the `srcdev-forms-extended` class namespace:\n\n```ts\n// nuxt.config.ts in the extending app\nexport default defineNuxtConfig({\n  extends: 'srcdev-nuxt-forms',\n  app: {\n    head: {\n      htmlAttrs: {\n        class: 'srcdev-forms-extended',\n      },\n    },\n  },\n});\n```\n\n**Important:** All override CSS files in the extending app's `~/assets/styles/extends-layer/srcdev-forms/` directory must use the `.srcdev-forms-extended` class as a namespace prefix to ensure proper specificity and override behavior.\n\nExample override structure in the extending app:\n\n```css\n/* ~/assets/styles/extends-layer/srcdev-forms/components/button.css */\n.srcdev-forms-extended .btn-primary {\n  /* Your custom button styles */\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcdev%2Fnuxt-forms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrcdev%2Fnuxt-forms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcdev%2Fnuxt-forms/lists"}