Reference Source
import Routes from 'flarum/common/extend/Routes'
public class | source

Routes

Member Summary

Public Members
public

routes: *

Method Summary

Public Methods
public

add(name: *, path: *, component: *): *

public

extend(app: *, extension: *)

Public Members

public routes: * source

Public Methods

public add(name: *, path: *, component: *): * source

Params:

NameTypeAttributeDescription
name *
path *
component *

Return:

*

public extend(app: *, extension: *) source

Params:

NameTypeAttributeDescription
app *
extension *