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

Modifying records on Yii2 Mater Slave Steup
yii2 rest - using PUT to update data
yii2 pagination dose not working Call to a member function offset() on a non-object
Custom Yii2 validator not firing
yii2 send data in another view and save in this view with button
Yii2 assets bundle max folder size limit
Finding where values come to the $model
Call to undefined function tests\codeception\unit\models\expect()
Filter gridview in form in Yii2
rest yii2 pretty url urlManager
Yii2 Checkbox field cannot be checked
How to remove summary in yii2 grid but keeping pager
Having issues with setting up yii2 basic framework and ibm bluemix
Yii2: Non-Scenario fields are not saved
http 403 exception not displaying properly
How to integrate AdminLTE into Yii2 Basic in manual way

Categories

HOME
mockito
tizen
tinymce
plot
layout
iterator
bpmn
framework7
sqlite-net-extensions
infragistics
networkx
azure-storage-tables
qore
multiple-records
virtualization
python-unittest
vifm
wheelnav.js
alignment
phaser
percona
opentracing
progressive-web-apps
propel
swiftlint
tokenize
jndi
lcd
react-css-modules
typo3-6.2.x
file-rename
newline
gsmcomm
librato
gsoap
flink-streaming
fabric8
junit5
key-value-observing
galsim
column-family
openoffice.org
rotational-matrices
mapdb
vxworks
code-search-engine
sharefile
az-application-insights
greenrobot-eventbus
tasker
awt
arena-simulation
unixodbc
sas-jmp
youcompleteme
jquery-nestable
mu
kbuild
feeds
crypt
gcsfuse
vtigercrm
static-ip-address
passport-google-oauth
py2app
gridview-sorting
holder.js
markojs
nsviewcontroller
ubuntu-10.04
hsv
rtbkit
srand
spim
pundit
coveralls
interrupted-exception
graph-drawing
tt-news
nsbutton
xcode-6.2
issuu
jubula
mysql-error-1062
poller
message-driven-bean
industrial
terminal-services
android-hardware
angularjs-controller
mhtml
gil
hgsubversion
mod-auth
krl
floating
lpeg
site.master
compiler-specific
libs
ctp4

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App