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) submitButton =>Converting onclick function to siteControllers?
unable to install package using composer in yii2
Yii2 - search by latest of hasMany relation
PendalF89/yii2-filemanager upload error. (Call to a member function saveAs() on null)
Yii2-user Dektrium - how to hash password
2amigos Datepicker is not working with AdminLTE in yii2
Custom filter DD for gridview yii2
Cannot update an extension to latest version in yii2
checkboxlist not rendering checkbox checked correctly
Differentiate between Frontend and Backend Logs in DBTarget Yii2
yii2 ActiveData Provider
How to use custom php function to filter in ActiveDataProvider
Yii2 sort object defaultOrder
How to display names instead of id's in GridView Yii2?
yii2 / Migration Not Working
Kartik GridView Yii2 : Toggle data not working in toolbar

Categories

HOME
xamarin
listview
blogger
minimum-spanning-tree
layout
stock
lodash
routes
adb
cakephp-2.5
installshield
windows-10-universal
floating-action-button
postgres-xl
circular-dependency
zebra-printers
clojurescript
windows-7-x64
serilog
paging
scriptcs
functional-testing
facebook-instant-articles
dcevm
crosstab
selectedindexchanged
kannel
virtualdub
strncpy
atlassian-crucible
webkitspeechrecognition
key-value-observing
.net-4.0
cloud-code
stacked
main
x11-forwarding
xenforo
az-application-insights
temporary-files
particles.js
ensembles
core-plot
texmaker
botbuilder
mime
slick-3.0
convertapi
skeleton-css-boilerplate
google-datalayer
taffy
xml-documentation
upstart
lift-json
nsarray
capacity
flow-control
pcf
ctest
mathematica-frontend
disque
bgp
pickadate
ptrace
asp.net5
freelancer.com-api
msys
endeca-workbench
eclipse-clp
marching-cubes
pundit
rgeo
sankey-diagram
apache-commons-net
npapi
clicktag
winddk
phalanger
id3v2
castle
project-planning
mesa
wp-query
mysql-error-1062
page-layout
oam
access-rights
web2py-modules
jplaton
ora-00911
back-stack
android-screen-support
pygit2
flashvars
chuck
broken-links
gdata-api
manchester-syntax
ohm
semantic-diff
punbb
gnustep
vdsp
mod-auth
xmemcached
inotifycollectionchanged
mongomapper
mysql-error-1005
remember-me
h.323
spec#
lzh

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