mirror of
https://github.com/SomboChea/ui
synced 2024-11-16 11:14:26 +07:00
f5c77ff43c
* refactor: updated version page * refactor: rollback context * fix: added version provider
10 lines
198 B
TypeScript
10 lines
198 B
TypeScript
function getRouterPackageName(packageName: string, scope?: string): string {
|
|
if (scope) {
|
|
return `@${scope}/${packageName}`;
|
|
}
|
|
|
|
return packageName;
|
|
}
|
|
|
|
export default getRouterPackageName;
|