Yancy::Plugin::Editor - Yancy content editor, admin, and management application
version 1.029
use Mojolicious::Lite; plugin Yancy => { backend => 'sqlite://myapp.db', read_schema => 1, editor => { # XXX }, };
XXX
This plugin has the following configuration options.
XXX schema openapi default_controller backend moniker
A base route to add Yancy to. This allows you to customize the URL and add authentication or authorization. Defaults to allowing access to the Yancy web application under /yancy, and the REST API under /yancy/api.
/yancy
/yancy/api
The URL to use for the "Back to Application" link. Defaults to /.
/
Get the route where the editor will appear.
my $openapi = $c->yancy->openapi;
Get the Mojolicious::Plugin::OpenAPI object containing the OpenAPI interface for this Yancy API.
This is the main Yancy web application. You should not override this. If you need to, consider filing a bug report or feature request.
Yancy::Help::Config, Mojolicious::Plugin::Yancy, Yancy
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2019 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Yancy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yancy
CPAN shell
perl -MCPAN -e shell install Yancy
For more information on module installation, please visit the detailed CPAN module installation guide.