{"id":20018326,"url":"https://github.com/varletjs/varlet-nuxt","last_synced_at":"2025-08-21T15:32:40.677Z","repository":{"id":152970999,"uuid":"616475896","full_name":"varletjs/varlet-nuxt","owner":"varletjs","description":"Varlet module for Nuxt","archived":false,"fork":false,"pushed_at":"2024-06-14T10:37:23.000Z","size":732,"stargazers_count":26,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-17T04:08:03.505Z","etag":null,"topics":["nuxt","nuxt-module","vue"],"latest_commit_sha":null,"homepage":"","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/varletjs.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-03-20T13:14:37.000Z","updated_at":"2024-10-12T22:23:03.000Z","dependencies_parsed_at":"2024-01-19T13:47:51.148Z","dependency_job_id":"3ab6a099-f103-4e9c-842b-854c2858ccad","html_url":"https://github.com/varletjs/varlet-nuxt","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varletjs%2Fvarlet-nuxt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varletjs%2Fvarlet-nuxt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varletjs%2Fvarlet-nuxt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varletjs%2Fvarlet-nuxt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varletjs","download_url":"https://codeload.github.com/varletjs/varlet-nuxt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230520393,"owners_count":18238948,"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":["nuxt","nuxt-module","vue"],"created_at":"2024-11-13T08:21:26.107Z","updated_at":"2024-12-20T01:15:49.213Z","avatar_url":"https://github.com/varletjs.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Varlet Nuxt\n\n🌟 Inspired by [vant-nuxt](https://github.com/vant-ui/vant-nuxt) and [element-plus-nuxt](https://github.com/element-plus/element-plus-nuxt)\n\nWelcome to contribute this repo\n\nVarlet Module for Nuxt3\n\n## Feature\n\n- Auto import Varlet component in you Nuxt Project\n- Auto import Varlet the directive\n- Lazy load component\n- Material Design Nuxt Component with Material 3 Version\n\n## Quick Setup\n\n1. Add `@varlet/nuxt` dependency to your project\n\n```bash\nnpx nuxi@latest module add varlet\n```\n\n2. Add `@varlet/nuxt` to the `modules` section of `nuxt.config.ts`\n\n```js\nexport default defineNuxtConfig({\n  modules: ['@varlet/nuxt'],\n  varlet: {\n    modulePath: '...',\n    exclude: ['...'],\n    icon: {}\n  }\n})\n```\n\nThat's it! You can now use Varlet Module in your Nuxt app ✨\n\ntips: If you running `varlet` on the PC. Please install [`@varlet/touch-emulator`](https://varlet.gitee.io/varlet-ui/#/zh-CN/browserAdaptation)\n\n### Options\n\n| fieldName  | require | default                 | effect                                                                                                           |\n| ---------- | ------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------- |\n| modulePath | false   | undefind                | customer you workspace path if you want                                                                          |\n| exclude    | false   | '.nuxt', 'node_modules' | exclude some path that you won't transform                                                                       |\n| icon       | false   | undefined               | [svg icon to iconfont](https://github.com/varletjs/varlet-iconx/tree/main/packages/varlet-unplugin-icon-builder) |\n\n## Contribution\n\nWe recommend using pnpm\n\n```bash\n# Install dependencies\npnpm install\n\n# Generate type stubs\npnpm run dev:prepare\n\n# Develop with the playground\npnpm run dev\n\n# Build the playground\npnpm run dev:build\n\n# Run ESLint\npnpm run lint\n\n# Release new version\npnpm run release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarletjs%2Fvarlet-nuxt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarletjs%2Fvarlet-nuxt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarletjs%2Fvarlet-nuxt/lists"}