Public Access
Scaffold generated clients with @lucide/vue
The template overlay now imports its icons from @lucide/vue (project-template#6), so the scaffolder has to install that instead of the deprecated lucide-vue-next: pnpm doesn't hoist the kit's own copy to the app, and a fresh project would fail to resolve its icon imports. No version is pinned here - these stay unpinned `pnpm add` calls, so the template remains the version authority. Submodule bumped to that commit. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
1 parent
0bd1550779
commit
b7fe8f3f4e
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -88,7 +88,7 @@ func scaffoldClientNuxt(projectDir, serviceName string) error {
|
||||
|
||||
fmt.Println("📦 Installing dependencies...")
|
||||
if err := runCommand(projectDir, "pnpm", "add", "pinia", "@pinia/nuxt",
|
||||
"@fernandojvideira/vue-ui-kit", "lucide-vue-next",
|
||||
"@fernandojvideira/vue-ui-kit", "@lucide/vue",
|
||||
); err != nil {
|
||||
return fmt.Errorf("error installing dependencies: %w", err)
|
||||
}
|
||||
@@ -258,7 +258,7 @@ func scaffoldClientVue(projectDir, serviceName string) error {
|
||||
}
|
||||
|
||||
fmt.Println("📦 Installing remaining dependencies...")
|
||||
return runCommand(projectDir, "pnpm", "add", "ofetch", "@fernandojvideira/vue-ui-kit", "lucide-vue-next")
|
||||
return runCommand(projectDir, "pnpm", "add", "ofetch", "@fernandojvideira/vue-ui-kit", "@lucide/vue")
|
||||
}
|
||||
|
||||
// The library's theme brings its own tokens; --success/--warning are added on
|
||||
|
||||
Reference in new issue
Block a user