22 lines
379 B
TypeScript
22 lines
379 B
TypeScript
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>
|
|
);
|
|
},
|
|
});
|