fix js load on frontend, fix #1
This commit is contained in:
parent
60e5abd9f4
commit
1b47c35974
@ -35,7 +35,7 @@ class Frontend extends dcNsProcess
|
|||||||
|
|
||||||
dcCore::app()->addBehaviors([
|
dcCore::app()->addBehaviors([
|
||||||
'initWidgets' => [Widgets::class, 'initWidgets'],
|
'initWidgets' => [Widgets::class, 'initWidgets'],
|
||||||
'publicHeadContent', function (): void {
|
'publicHeadContent' => function (): void {
|
||||||
echo
|
echo
|
||||||
dcUtils::jsModuleLoad(My::id() . '/js/accordion.js') .
|
dcUtils::jsModuleLoad(My::id() . '/js/accordion.js') .
|
||||||
dcUtils::cssModuleLoad(My::id() . '/css/frontend.css');
|
dcUtils::cssModuleLoad(My::id() . '/css/frontend.css');
|
||||||
|
Loading…
Reference in New Issue
Block a user