Skip to content

Commit

Permalink
be better
Browse files Browse the repository at this point in the history
  • Loading branch information
RiskyMH committed Feb 12, 2025
1 parent 93458a2 commit 2bcdb7c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/create/SourceFileProjectGenerator.zig
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ const ReactTailwindSpa = struct {
pub const files = &[_]TemplateFile{
.{
.name = "REPLACE_ME_WITH_YOUR_APP_FILE_NAME.tsx",
.content = @embedFile("projects/react-shadcn-spa/REPLACE_ME_WITH_YOUR_APP_FILE_NAME.tsx"),
.content = shared_app_tsx,
.reason = .bun,
.overwrite = false,
},
Expand Down Expand Up @@ -767,6 +767,7 @@ const ReactTailwindSpa = struct {

const shared_build_ts = @embedFile("projects/react-shadcn-spa/REPLACE_ME_WITH_YOUR_APP_FILE_NAME.build.ts");
const shared_client_tsx = @embedFile("projects/react-shadcn-spa/REPLACE_ME_WITH_YOUR_APP_FILE_NAME.client.tsx");
const shared_app_tsx = @embedFile("projects/react-shadcn-spa/REPLACE_ME_WITH_YOUR_APP_FILE_NAME.tsx");
const shared_html = @embedFile("projects/react-shadcn-spa/REPLACE_ME_WITH_YOUR_APP_FILE_NAME.html");
const shared_package_json = @embedFile("projects/react-shadcn-spa/package.json");
const shared_bunfig_toml = @embedFile("projects/react-shadcn-spa/bunfig.toml");
Expand All @@ -776,7 +777,7 @@ const ReactSpa = struct {
pub const files = &[_]TemplateFile{
.{
.name = "REPLACE_ME_WITH_YOUR_APP_FILE_NAME.tsx",
.content = @embedFile("projects/react-shadcn-spa/REPLACE_ME_WITH_YOUR_APP_FILE_NAME.tsx"),
.content = shared_app_tsx,
.reason = .bun,
.overwrite = false,
},
Expand Down Expand Up @@ -816,7 +817,7 @@ const ReactShadcnSpa = struct {
pub const files = &[_]TemplateFile{
.{
.name = "REPLACE_ME_WITH_YOUR_APP_FILE_NAME.tsx",
.content = @embedFile("projects/react-shadcn-spa/REPLACE_ME_WITH_YOUR_APP_FILE_NAME.tsx"),
.content = shared_app_tsx,
.reason = .bun,
.overwrite = false,
},
Expand Down

0 comments on commit 2bcdb7c

Please sign in to comment.