shadcn-vue/apps/www/src/public/registry/styles/new-york/aspect-ratio.json
Sadegh Barati 010e377669
fix: avoid failing resolve types by adding radix-vue to project deps in shadcn-vue init before the add command (#216)
* fix: avoid failing resolve types by adding `radix-vue` to project deps in `init` command

* chore: add `shell-emulator` and remove `cross-env`

fix some registry example import path

* chore: remove additional `radix-vue`  dependency from components registry

* chore: update `tsx` and `vue-tsc`

* fix: normalize `components:example` path to process `crawlExample` function correctly

* chore: build registry

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2023-12-21 09:06:14 +08:00

16 lines
554 B
JSON

{
"name": "aspect-ratio",
"dependencies": [],
"registryDependencies": [],
"files": [
{
"name": "AspectRatio.vue",
"content": "<script setup lang=\"ts\">\nimport { AspectRatio, type AspectRatioProps } from 'radix-vue'\n\nconst props = defineProps<AspectRatioProps>()\n</script>\n\n<template>\n <AspectRatio v-bind=\"props\">\n <slot />\n </AspectRatio>\n</template>\n"
},
{
"name": "index.ts",
"content": "export { default as AspectRatio } from './AspectRatio.vue'\n"
}
],
"type": "components:ui"
}