-
-
29 Dec 2020 13:15:12 UTC
- Distribution: Mojolicious-Plugin-AssetPack-Che
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (3)
- Testers (14 / 0 / 0)
- Kwalitee
Bus factor: 1- 81.68% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (28.11KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE userand 1 contributors- ÐÐ¸Ñ Ð°Ð¸Ð» Че (Mikhail Che) <mche<-on->cpan.org>
- Dependencies
- CSS::Minifier::XS
- CSS::Sass
- HTML::Packer
- JavaScript::Minifier::XS
- JavaScript::Packer
- Mojolicious::Plugin::AssetPack
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Доброго всем
¡ ¡ ¡ ALL GLORY TO GLORIA ! ! !
NAME
Mojolicious::Plugin::AssetPack::Pipe::VueTemplateCompiler - if you like separate files vue template and vue scrtipt.
SYNOPSIS
$app->plugin('AssetPack::Che' => { pipes => [qw(VueTemplateCompiler CombineFile)], VueTemplateCompiler=>{enabled=>$ENV{MOJO_ASSETPACK_VUE_TEMPLATE_COMPILER} || 0},# pipe options process => [ ['js/dist/templates/app★.js?bla'=>qw(components/foo.vue.html components/bar.vue.html)], ['app.js'=>qw('js/dist/templates/app★.js components/foo.vue.js components/bar.vue.js)], ..., ], });
Конфигурация CONFIG
Обработка файлов-шаблонов \<path|url>.vue.html пойдет только (ONLY) в режиме development.
Обработанные топики шаблонов сохраняются в пути этого топика относительно static https://metacpan.org/pod/Mojolicious#static.
В режиме production эти топики используются как обычные ассеты.
SEE ALSO
Mojolicious::Plugin::AssetPack::Che
Mojolicious::Plugin::AssetPack
AUTHOR
Михаил Че (Mikhail Che),
<mche[-at-]cpan.org>
BUGS / CONTRIBUTING
Please report any bugs or feature requests at https://github.com/mche/Mojolicious-Plugin-AssetPack-Che/issues. Pull requests also welcome.
COPYRIGHT
Copyright 2020-2021 Mikhail Che.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Mojolicious::Plugin::AssetPack::Che, copy and paste the appropriate command in to your terminal.
cpanm Mojolicious::Plugin::AssetPack::Che
perl -MCPAN -e shell install Mojolicious::Plugin::AssetPack::Che
For more information on module installation, please visit the detailed CPAN module installation guide.