generated from template/astro-template
fix: bugs for default pkg appType is none
This commit is contained in:
@@ -57,7 +57,7 @@ export const PackageManager = () => {
|
||||
installPackage({
|
||||
id: `${pkg.user}/${pkg.key}`,
|
||||
force: false,
|
||||
type: pkg.appType || 'web',
|
||||
type: pkg.appType || type || 'web',
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user