le Vue templates L<Mojolicious::Plugin::AssetPack::Pipe::VueTemplateCompiler>.
Can pipe CSS, JS, JSON, HTML with L<Mojolicious::Plugin::AssetPack::Pipe::CombineFile> into disk cache. This pipe can al
unless $asset->name =~ /\.vue$/;
$asset->format('js');
my $attrs = $asset->TO_JSON;
$attrs->{key} = 'js-vue-template';
$attrs->{minified} = 1;
#~ $attrs->{na
ole.error(errs);
///delete c.ast;
///delete c.errors;
//console.log(c);
//process.stdout.write(JSON.stringify(c));
///process.stdout.write(c.render);
/***
https://github.com/vuejs/component-comp
$store = $self->assetpack->store;
return
unless $self->enabled || $format ~~ ['html', 'json'];
DEBUG && diag "Process topic [%s]", $topic;
#~ return unless $self->enabled;!!! below
');
push @$collect, $asset
and next
if grep $asset->format eq $_, qw(css js json html);
push @other, $asset;
}
# preserve assets such as images and font fi
$collect->[0]->format;
#~ return
#~ unless $self->enabled || $format ~~ ['html', 'json'];
$content = $collect->map('content')->map(sub { /\n$/ ? $_ : "$_\n" })->join;
#~
t;
return $assets->each(
sub {
my ($asset, $index) = @_;
my $attrs = $asset->TO_JSON;
$attrs->{key} = 'html-min';
$attrs->{minified} = 1;
#~
e;
return $assets->each(
sub {
my ($asset, $index) = @_;
my $attrs = $asset->TO_JSON;
$attrs->{key} = 'js-min';
$attrs->{minified} = 1;
return if $asset
le Vue templates L<Mojolicious::Plugin::AssetPack::Pipe::VueTemplateCompiler>.
Can pipe CSS, JS, JSON, HTML with L<Mojolicious::Plugin::AssetPack::Pipe::CombineFile> into disk cache. This pipe can al