12 lines
300 B
JavaScript
12 lines
300 B
JavaScript
|
// Utilities
|
||
|
import { getCurrentInstance } from "../util/index.mjs";
|
||
|
export function useScopeId() {
|
||
|
const vm = getCurrentInstance('useScopeId');
|
||
|
const scopeId = vm.vnode.scopeId;
|
||
|
return {
|
||
|
scopeId: scopeId ? {
|
||
|
[scopeId]: ''
|
||
|
} : undefined
|
||
|
};
|
||
|
}
|
||
|
//# sourceMappingURL=scopeId.mjs.map
|