@dynect/base 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/module.ts +5 -1
package/package.json
CHANGED
package/src/module.ts
CHANGED
|
@@ -109,9 +109,13 @@ export default defineNuxtModule<DynectBaseOptions>({
|
|
|
109
109
|
|
|
110
110
|
// ── Install required Nuxt modules ────────────────────────────────────────
|
|
111
111
|
if (options.shadcn !== false) {
|
|
112
|
+
const shadcnComponentDir = isStandalone
|
|
113
|
+
? join(runtimeComponentsDir, 'ui')
|
|
114
|
+
: '~/components/ui';
|
|
115
|
+
|
|
112
116
|
await installModule('shadcn-nuxt', {
|
|
113
117
|
prefix: '',
|
|
114
|
-
componentDir:
|
|
118
|
+
componentDir: shadcnComponentDir,
|
|
115
119
|
...options.shadcn,
|
|
116
120
|
});
|
|
117
121
|
}
|