File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ import mri from 'mri';
66
77import { vitePlusHeader } from '../../binding/index.js' ;
88import {
9+ addFrameworkShim ,
10+ detectFramework ,
11+ hasFrameworkShim ,
912 installGitHooks ,
1013 rewriteMonorepo ,
1114 rewriteMonorepoProject ,
@@ -968,6 +971,10 @@ Use \`vp create --list\` to list all available templates, or run \`vp create --h
968971 } else {
969972 updateCreateProgress ( 'Applying Vite+ project setup' ) ;
970973 rewriteStandaloneProject ( fullPath , workspaceInfo , undefined , compactOutput ) ;
974+ const createdFramework = detectFramework ( fullPath ) ;
975+ if ( createdFramework && ! hasFrameworkShim ( fullPath , createdFramework ) ) {
976+ addFrameworkShim ( fullPath , createdFramework ) ;
977+ }
971978 if ( shouldSetupHooks ) {
972979 installGitHooks ( fullPath , compactOutput ) ;
973980 }
You can’t perform that action at this time.
0 commit comments