schlechtenburg/packages/example-site/pages/[path].tsx

22 lines
379 B
TypeScript
Raw Normal View History

2022-12-12 13:57:45 +00:00
import { defineComponent } from 'vue';
import {
IBlockData,
SbMain,
} from '@schlechtenburg/core';
export default defineComponent({
setup() {
const route = useRoute();
const path = route.path;
console.log(path);
return () => (
<div class="sb-main-menu">
Path {path}
{/*<SbMain block={props.block} />*/}
</div>
);
},
});