turbolinks icon indicating copy to clipboard operation
turbolinks copied to clipboard

Livewire component view file not working perfectly.

Open mdtahmidullah opened this issue 4 years ago • 0 comments

Hello, I have created a full project using Laravel livewire and after completed my project I have decided to implement it on a single page application.

After research, I have installed the Turbolinks package by npm command. npm install --save turbolinks

Then I have configured in app.js file. var Turbolinks = require("turbolinks") Turbolinks.start()

Then, I have been run it by npm command. npm run dev

Then, I include a script of Laravel Turbolinks into the app.blade.php <script src="https://cdn.jsdelivr.net/gh/livewire/[email protected]/dist/livewire-turbolinks.js" data-turbolinks-eval="false" data-turbo-eval="false"></script>

Then I added a script in the head into app.blade.php <script src="{{ asset('js/app.js') }}"></script>

Then single page application is perfectly working fine. But the problem is after completed it into my blade file. the dropdown, modal, etc. not working properly. I using bootstrap 5 for the blade file.

mdtahmidullah avatar Sep 04 '21 18:09 mdtahmidullah