Skip to content

Commit

Permalink
πŸ› Fix vite-library-mode template missing
Browse files Browse the repository at this point in the history
  • Loading branch information
CryogenicPlanet committed Jan 14, 2022
1 parent b63b8e8 commit f16c120
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/commands/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ func downloadTemplate(dirName string) {
utils.DownloadArchive("https://tsdev.vercel.app/templates/vite.zip", dirName)
case types.NextTemplate:
utils.DownloadArchive("https://tsdev.vercel.app/templates/next.zip", dirName)
case types.ViteLibraryModeTemplate:
utils.DownloadArchive("https://tsdev.vercel.app/templates/viteLib.zip", dirName)
default:
}
setupWg.Done()
Expand Down Expand Up @@ -298,7 +300,7 @@ func HandleCreateCommand(name string) error {

setupWg.Wait()

gitInit(dirPath(name))
// gitInit(dirPath(name))

return nil
}

0 comments on commit f16c120

Please sign in to comment.