UNPKG

@adonisjs/inertia

Version:

Official Inertia.js adapter for AdonisJS

26 lines (25 loc) 690 B
import { BaseCommand } from '@adonisjs/core/ace'; import type { CommandOptions } from '@adonisjs/core/types/ace'; export default class MakePage extends BaseCommand { #private; static commandName: string; static description: string; static options: CommandOptions; name: string; vue: boolean; react: boolean; /** * Read the contents from this file (if the flag exists) and use * it as the raw contents */ contentsFrom: string; /** * Forcefully overwrite existing files */ force: boolean; /** * Directory under which the inertia pages are stored */ protected pagesDir: string; run(): Promise<void>; }