83 - Bundle Livewire through Vite instead of injected scripts
This commit is contained in:
parent
5b4e311d2d
commit
5f4ef40a76
5 changed files with 7 additions and 5 deletions
|
|
@ -15,7 +15,6 @@
|
||||||
"vite": "^6.2.4"
|
"vite": "^6.2.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"alpinejs": "^3.14.8",
|
|
||||||
"axios": "^1.8.0"
|
"axios": "^1.8.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
import "./bootstrap";
|
import { Livewire } from '../../vendor/livewire/livewire/dist/livewire.esm';
|
||||||
|
import './bootstrap';
|
||||||
|
|
||||||
|
Livewire.start();
|
||||||
|
|
|
||||||
|
|
@ -119,6 +119,6 @@ class="px-4 border-r border-gray-200 dark:border-gray-700 text-gray-500 dark:tex
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@livewireScripts
|
@livewireScriptConfig
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,6 @@
|
||||||
<p>Route your feeds to the Fediverse</p>
|
<p>Route your feeds to the Fediverse</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@livewireScripts
|
@livewireScriptConfig
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,6 @@
|
||||||
<p>Route your feeds to the Fediverse</p>
|
<p>Route your feeds to the Fediverse</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@livewireScripts
|
@livewireScriptConfig
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue