routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// Utilities
|
||||
import { getCurrentInstance } from "../util/index.js";
|
||||
export function useScopeId() {
|
||||
const vm = getCurrentInstance('useScopeId');
|
||||
const scopeId = vm.vnode.scopeId;
|
||||
return {
|
||||
scopeId: scopeId ? {
|
||||
[scopeId]: ''
|
||||
} : undefined
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=scopeId.js.map
|
||||
Reference in New Issue
Block a user