AdonisJS API
    Preparing search index...

    Variable edgePluginSessionConst

    edgePluginSession: PluginFn<undefined> = ...

    The edge plugin for AdonisJS Session adds template tags to read flash messages. Provides @flashMessage, @inputError, @error, and @errors tags for templates.

    // Register the plugin with Edge
    import { edgePluginSession } from '@adonisjs/session/plugins/edge'
    edge.use(edgePluginSession)
    // Use in templates
    @flashMessage('success')
      
    {{ $message }}
    @end