create-middag-ui 0.15.0 → 0.15.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/cli.js +3 -0
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -213,6 +213,9 @@ if (isPro) {
|
|
|
213
213
|
pro.scaffoldMockEntities(targetDir);
|
|
214
214
|
pro.scaffoldMockPageContracts(targetDir);
|
|
215
215
|
pro.scaffoldMockRoutes(targetDir);
|
|
216
|
+
// Inertia mock adapters — required by vite.config.ts aliases for dev server.
|
|
217
|
+
// Both PRO and FREE need these so @inertiajs/* imports resolve in dev mode.
|
|
218
|
+
scaffoldFreeAdapters(targetDir);
|
|
216
219
|
success("PRO: using MockProductShell from @middag-io/react/mock");
|
|
217
220
|
} catch {
|
|
218
221
|
// npm version — PRO file excluded, fall back to FREE
|