You should install semantic ui using NPM:
npm install semantic-ui --save
Then on your app.js file you could import it before the bootstrap.js file.
I would include my semantic-ui js when bootstraping application before vue but after jquery. How can I do it?
{{-- Vue --}}
<script>
window.Laravel = document.getElementById("csrf-token").getAttribute("content");
</script>
<script src="js/app.js"></script>
{{-- Vendor --}}
<script src="vendor/jquery/js/jquery.min.js"></script>
<script src="vendor/semantic/semantic.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
{{-- Application scripts --}}
<script src="js/initialize.js"></script>
<script src="js/modal.js"></script>
I cant use semantic-ui method like dimmer or modal in this structure. So I choose include as require in bootstrap.js but I dont know how to do it... And iI should remove /vendor/jquery adn vendor/semantic include in blade.
Someone did it ?
You should install semantic ui using NPM:
npm install semantic-ui --save
Then on your app.js file you could import it before the bootstrap.js file.
Please or to participate in this conversation.