7 lines
173 B
JavaScript
7 lines
173 B
JavaScript
import { useRoute } from 'vue-router'
|
|
import { reactive } from 'vue'
|
|
export const useBtnAuth = () => {
|
|
const route = useRoute()
|
|
return route.meta.btns || reactive({})
|
|
}
|