TW-Elements icon indicating copy to clipboard operation
TW-Elements copied to clipboard

in laravel i am getting this issue path not found

Open Elusoji opened this issue 3 years ago • 3 comments

T http://127.0.0.1:8000/TW-ELEMENTS-PATH/dist/js/index.min.js net::ERR_ABORTED 404 (Not Found)

Elusoji avatar Feb 14 '22 12:02 Elusoji

i also imported its in my resource/js folder but not working

require('./bootstrap'); import 'tw-elements'; import Alpine from 'alpinejs';

window.Alpine = Alpine;

Alpine.start();

Elusoji avatar Feb 14 '22 12:02 Elusoji

hello i need your help

Elusoji avatar Feb 16 '22 08:02 Elusoji

In your resources/js/app.js file, add import 'tw-elements';. Then, stop and restart npm run watch. If you do it this way, you won't need to include the script tag mentioned above in your HTML, as it will be included in the main app's javascript.

discern avatar Jul 03 '22 14:07 discern

Adding to @discern answer: include import from vite in your welcome.blade.php file: @vite('resources/js/app.js'). FYI in next week we are going to publish some tutorials about integration Tailwind Elements with popularn front and backend frameworks.

In case you want to import library by script tags: phrase "TW-ELEMENTS-PATH" is just placeholder; you got to rename it to real path where Tailwind Elements is installed.

Trochonovitz avatar Mar 02 '23 11:03 Trochonovitz

Hi, we just have launched bunch of integration tutorials - both with CSR and SSR frameworks. If you have more questions about integration or you still got some problems with particular components, let us know by adding new issue / topic in discussions section (if there are some unclear informations or just want let us know about something).

Laravel integration tutorial.

Trochonovitz avatar Mar 24 '23 11:03 Trochonovitz

Hi, we just have launched bunch of integration tutorials - both with CSR and SSR frameworks. If you have more questions about integration or you still got some problems with particular components, let us know by adding new issue / topic in discussions section (if there are some unclear informations or just want let us know about something).

Laravel integration tutorial.

It doesn't seem like the Laravel tutorial link is working, I'm just seeing the home page of https://tailwind-elements.com in https://tailwind-elements.com/docs/standard/integrations/laravel-integration/

ATahhan avatar Mar 24 '23 20:03 ATahhan

It doesn't seem like the Laravel tutorial link is working,

It is working now? IF it still isn't for you maybe try another browser or something?

f1rf1n avatar Apr 02 '23 09:04 f1rf1n

Yes, all tutorials are back live. It was our mistake.

Trochonovitz avatar Apr 03 '23 07:04 Trochonovitz