yii2


Yii2 location from depencies in custom asset


I have a path something like /actions/users/someaction in the frontend and I want to use the Bootstrap-Asset (located in /backend/web/assets/xxxxxx/) from the backend.
So I created an asset called "ActionAsset" with following content:
class ActionAsset extends AssetBundle
{
public $basePath = '#backend';
public $baseUrl = '#web/backend';
public $css = [
'css/external.css',
'css/overwrite-bootstrap.css',
];
public $js = [
];
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BackendBootstrapAsset',
];
}
The included css are just working fine, but the depencies are always saved in /frontend/web/assets/.
My question is (and I really searched for weeks) how to change this location to /backend/web/assets.
Thanks!

Related Links

YII2 Dependent radiolist on other radiolists
Yii2 fresh install: vendor/bower/jquery/dist path is wrong
How to use Pjax with a Custom Button in Gridview
Yii2 full calendar custom button?
can't solve 'date' validation with 'max', 'min' properties Yii2
how can i set to page 1 in pagination when i search in gridview in yii2
Using ArrayHelper in view file in Yii2
Uploading Image and Text on the same submit IN YII2
how can I get a value, not key from dropDownList Yii2 [closed]
How to test a REQUEST GET in Acceptance Test
Codeception radio button list
css is not working after uploading the file on server with filezilla
Is Yii2 compatible with PHP 7?
Class 'yii2fullcalendar\models\Event' not found
Allow to get POST data from outter server YII2
Yii2 - How to update textInput Value from DropDownList

Categories

HOME
yii2
winforms
hook
oracle11g
office365api
alfresco
jsp-tags
elm
cakephp-2.5
ckeditor
retrofit
installshield
alpha
flyway4
bs4
append
basic
facebook-messenger-bot
elasticsearch-hadoop
jplayer
remote-access
size
orchardcms
dosgi
samoa
crystal-reports-2008
lldb
grails3
immutable.js
java-3d
orleans
kudan
cultureinfo
trading
android-widget
numerical-methods
react-css-modules
fgetcsv
msys2
objectanimator
sequential
host
dynamics-crm-2013
starteam
objectlistview
ssjs
sqlite2
android-fingerprint-api
greenrobot-eventbus
ensembles
hp-ux
google-closure
glew
azure-application-gateway
atomicity
pango
prolog-setof
jquery-nestable
return-value
nativeapplication
knockout-components
gcsfuse
libpng
radtreelist
url-masking
autorest
storekit
firebaseui
angstrom-linux
react-native-listview
yaws
hsv
vhd
xna-4.0
msys
endeca-workbench
intellij-14
metaclass
mutation-observers
iis-arr
wyam
ami
device-orientation
offloading
winddk
rdtsc
issuu
project-planning
heisenbug
sgen
htmlcleaner
braille
monomac
imdbpy
prettify
c18
jsctypes
web2py-modules
mhtml
path-separator
jspinclude
dbproviderfactories
regsvr32
buildr
gnustep
gcj
subgurim-maps
locationlistener
appender
xfbml
datareader
remember-me
h.323
gin
perfect-hash
nintendo-ds
adrotator
mdac

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile