feat: Properly import HTMX & bootstrap's js
This commit is contained in:
parent
043f936497
commit
b67434abda
|
@ -1,2 +1,5 @@
|
|||
import './styles/app.css';
|
||||
import './vendor/bootstrap/dist/css/bootstrap.min.css'
|
||||
|
||||
import 'bootstrap';
|
||||
import 'htmx.org';
|
||||
|
|
|
@ -12,19 +12,12 @@
|
|||
* The "importmap:require" command can be used to add new entries to this file.
|
||||
*/
|
||||
return [
|
||||
'app' => [
|
||||
'path' => './assets/app.js',
|
||||
'entrypoint' => true,
|
||||
],
|
||||
'@hotwired/stimulus' => [
|
||||
'version' => '3.2.2',
|
||||
],
|
||||
'@symfony/stimulus-bundle' => [
|
||||
'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js',
|
||||
],
|
||||
'@hotwired/turbo' => [
|
||||
'version' => '7.3.0',
|
||||
],
|
||||
'app' => ['path' => './assets/app.js', 'entrypoint' => true],
|
||||
|
||||
'htmx.org' => ['version' => '2.0.6'],
|
||||
|
||||
'bootstrap' => ['version' => '5.3.8'],
|
||||
'@popperjs/core' => ['version' => '2.11.8'],
|
||||
'bootstrap/dist/css/bootstrap.min.css' => [
|
||||
'version' => '5.3.8',
|
||||
'type' => 'css',
|
||||
|
|
Loading…
Reference in New Issue