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 './styles/app.css';
|
||||||
import './vendor/bootstrap/dist/css/bootstrap.min.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.
|
* The "importmap:require" command can be used to add new entries to this file.
|
||||||
*/
|
*/
|
||||||
return [
|
return [
|
||||||
'app' => [
|
'app' => ['path' => './assets/app.js', 'entrypoint' => true],
|
||||||
'path' => './assets/app.js',
|
|
||||||
'entrypoint' => true,
|
'htmx.org' => ['version' => '2.0.6'],
|
||||||
],
|
|
||||||
'@hotwired/stimulus' => [
|
'bootstrap' => ['version' => '5.3.8'],
|
||||||
'version' => '3.2.2',
|
'@popperjs/core' => ['version' => '2.11.8'],
|
||||||
],
|
|
||||||
'@symfony/stimulus-bundle' => [
|
|
||||||
'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js',
|
|
||||||
],
|
|
||||||
'@hotwired/turbo' => [
|
|
||||||
'version' => '7.3.0',
|
|
||||||
],
|
|
||||||
'bootstrap/dist/css/bootstrap.min.css' => [
|
'bootstrap/dist/css/bootstrap.min.css' => [
|
||||||
'version' => '5.3.8',
|
'version' => '5.3.8',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
|
|
Loading…
Reference in New Issue