<?php
namespace App;
use App\Installer\AppInstaller;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use Sintra\CMSCoreBundle\Scripts\ResourceBundle;
class AppBundle extends AbstractPimcoreBundle implements ResourceBundle
{
public function getInstaller()
{
return $this->container->get(AppInstaller::class);
}
function getCssFiles()
{
return [];
}
function getJSFiles()
{
$scripts=[
array( 'type'=>"link", 'data'=>"https://unpkg.com/apollo-client-browser@1.9.0"),
array( 'type'=>"link", 'data'=>"https://unpkg.com/vue-apollo@2.1.0-beta.19"),
array( 'type'=>"link", 'data'=>"https://cdnjs.cloudflare.com/ajax/libs/axios/0.27.2/axios.min.js"),
array( 'type'=>"link", 'data'=>"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-vue/2.22.0/bootstrap-vue.min.js")
];
return $scripts;
}
}