{"id":28400189,"url":"https://github.com/vuecomponent/ant-design-vue-nuxt","last_synced_at":"2025-06-28T02:31:09.748Z","repository":{"id":170820675,"uuid":"647078309","full_name":"vueComponent/ant-design-vue-nuxt","owner":"vueComponent","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-11T09:47:26.000Z","size":362,"stargazers_count":80,"open_issues_count":24,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-01T16:38:45.921Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/vueComponent.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}},"created_at":"2023-05-30T02:39:12.000Z","updated_at":"2025-04-23T02:42:55.000Z","dependencies_parsed_at":"2023-10-11T13:38:59.943Z","dependency_job_id":"5e33a0b4-8490-4715-8f78-8cd5df25989d","html_url":"https://github.com/vueComponent/ant-design-vue-nuxt","commit_stats":{"total_commits":54,"total_committers":5,"mean_commits":10.8,"dds":"0.16666666666666663","last_synced_commit":"5e146816aafd57d72c93c2eaa75c497b4c9909ca"},"previous_names":["vuecomponent/ant-design-vue-nuxt"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/vueComponent/ant-design-vue-nuxt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vueComponent%2Fant-design-vue-nuxt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vueComponent%2Fant-design-vue-nuxt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vueComponent%2Fant-design-vue-nuxt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vueComponent%2Fant-design-vue-nuxt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vueComponent","download_url":"https://codeload.github.com/vueComponent/ant-design-vue-nuxt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vueComponent%2Fant-design-vue-nuxt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262363830,"owners_count":23299474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-06-01T09:12:09.087Z","updated_at":"2025-06-28T02:31:09.736Z","avatar_url":"https://github.com/vueComponent.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nGet your module up and running quickly.\n\nFind and replace all on all files (CMD+SHIFT+F):\n- Name: Ant Design Vue Nuxt\n- Package name: @ant-design-vue/nuxt\n- Description: My new Nuxt module\n--\u003e\n\n# Ant Design Vue Nuxt\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![License][license-src]][license-href]\n[![Nuxt][nuxt-src]][nuxt-href]\n\n[Ant Design Vue](https://www.antdv.com) module for [Nuxt](https://nuxt.com/)\n\n- [✨ \u0026nbsp;Release Notes](/CHANGELOG.md)\n\u003c!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/@ant-design-vue/nuxt?file=playground%2Fapp.vue) --\u003e\n\u003c!-- - [📖 \u0026nbsp;Documentation](https://example.com) --\u003e\n\n## Features\n\n\u003c!-- Highlight some of the features your module provide here --\u003e\n- ✨ \u0026nbsp;Automatically import components on demand.\n- ✨ \u0026nbsp;Automatically import icons from [@ant-design/icons-vue](https://github.com/ant-design/ant-design-icons/tree/master/packages/icons-vue).\n- ✨ \u0026nbsp;Automatically import of message, notification and Modal methods.\n\n## Quick Setup\n\n1. Add `@ant-design-vue/nuxt` dependency to your project\n\n```bash\nnpx nuxi@latest module add ant-design-vue\n```\n\n2. Add `@ant-design-vue/nuxt` to the `modules` section of `nuxt.config.ts`\n\n```js\nexport default defineNuxtConfig({\n  modules: [\n    '@ant-design-vue/nuxt'\n  ],\n  antd:{\n    // Options\n  }\n})\n```\n\nThat's it! You can now use ant-design-vue in your Nuxt app ✨\n\n\n## Usage\n\n[Online Playground](https://stackblitz.com/~/github.com/antdv-pro/antdv-nuxt-starter)\n\n```vue\n\u003cscript lang=\"ts\" setup\u003e\nconst handleMessage = () =\u003e {\n  message.info(\"This is a normal message\");\n}\n\u003c/script\u003e\n\u003ctemplate\u003e\n  \u003ca-button @click=\"handleMessage\"\u003e\n    button\n  \u003c/a-button\u003e\n\u003c/template\u003e\n```\nReference [Nuxt documentation](https://nuxt.com/docs/guide/directory-structure/components) and [playground](./playground/app.vue) use.\n\n## Options\n\n### components\n\n* Type: `array` | 'false'\n\nIf there are components that are not imported automatically from Ant Design Vue, you need to add the component name here.\n\ne.g.`['Button']`\n\n### imports\n\n* Type: `array`\n\nIf you wish to add automatically import content from Ant Design Vue, you can add it here.\n\n### icons\n\n* Type: `array` | 'false'\n\nIf there are components that are not imported automatically from @ant-design/icons-vue, you need to add the component name here.\n\n\n### extractStyle (1.4.1)\n\n* Type: `boolean`\n\n\u003e Solve page css flicker problem\n\nExtracts and injects css on demand, defaults to false\n\n```vue\n\u003c!-- If the extractStyle option is enabled, we can use a-extract-style on the outermost level of the template in app.vue --\u003e\n\u003ctemplate\u003e\n  \u003ca-extract-style\u003e\n    \u003c!-- Your page or component --\u003e\n  \u003c/a-extract-style\u003e\n\u003c/template\u003e\n```\n\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Generate type stubs\nnpm run dev:prepare\n\n# Develop with the playground\nnpm run dev\n\n# Build the playground\nnpm run dev:build\n\n# Build for production\nnpm run build\n\n# Run ESLint\nnpm run lint\n\n# Run Vitest\nnpm run test\nnpm run test:watch\n\n# Release new version\nnpm run release\n```\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/@ant-design-vue/nuxt/latest.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-version-href]: https://npmjs.com/package/@ant-design-vue/nuxt\n\n[npm-downloads-src]: https://img.shields.io/npm/dm/@ant-design-vue/nuxt.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-downloads-href]: https://npmjs.com/package/@ant-design-vue/nuxt\n\n[license-src]: https://img.shields.io/npm/l/@ant-design-vue/nuxt.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[license-href]: https://npmjs.com/package/@ant-design-vue/nuxt\n\n[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js\n[nuxt-href]: https://nuxt.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuecomponent%2Fant-design-vue-nuxt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvuecomponent%2Fant-design-vue-nuxt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuecomponent%2Fant-design-vue-nuxt/lists"}