UNPKG

@izzyjs/route

Version:

Use your AdonisJs routes in your Inertia.js application

8 lines (7 loc) 270 B
import { dirname } from 'node:path'; import { fileURLToPath } from 'node:url'; /** * Path to the root directory where the stubs are stored. We use * this path within commands and the configure hook */ export const stubsRoot = dirname(fileURLToPath(import.meta.url));