Packages
Potionx project generator. Provides a `mix potionx.new` task to bootstrap a new Elixir application with Phoenix, Absinthe, Pow and Vue dependencies.
Current section
Files
Jump to
Current section
Files
templates/potionx/frontend/admin/src/useAdminHeaderNav.ts
import { AdminHeaderNavProps } from "@potionapps/ui";
import { computed, Ref } from "vue";
import { routeNames } from './routes/routeNames'
const nav : AdminHeaderNavProps['nav'] = []
export default () : Ref<AdminHeaderNavProps> => {
return computed(() => {
return {
nav
}
})
}