laravel-frontend-presets / bulma

Bulma Frontend Preset For Laravel Framework 5.5 and Up
https://laravel-frontend-presets.github.io/bulma
171 stars 25 forks source link

bulma-tagsinput & bulma-accordion #12

Closed crazedVic closed 6 years ago

crazedVic commented 6 years ago

If you look at the documentation for these two specific controls, they require specific js files to function:

The extension comes with a JavaScript implementation to expand / collapse accordion items. Don't forget to include it in your project.

And

The extension comes with a JavaScript implementation to manage input tags type. Don't forget to include it in your project.

And I do see you have included them in bulma-extension.js: require('bulma-extensions/bulma-accordion/dist/bulma-accordion'); [...] require('bulma-extensions/bulma-tagsinput/dist/bulma-tagsinput');

I manually copied the javascript file /node_modules/bulma-extensions/bulma-tagsinput/dist/bulma-tagsinput.min.js over using mix.js and referenced it directly in

m1guelpf commented 6 years ago

ping @laravel-frontend-presets/bulma-preset Can you take a look at this?

deeshrestha commented 6 years ago

@crazedVic Can you be specific about the problem.

Welcome page is a static page with static links so scripts are not included there intentionally. If you are testing on welcome page, yes you have to add the script manually.

It is assumed that your pages should extend the provided layouts/app.blade.php page that includes the script (or create your own layout and extend it).