I am trying to use Vuejs without bootstrap. based on the documentation I can pick either of both, even each one has its own artisan command!
BUT both artisan commands (Vue and bootstrap) are doing exactly the same!
I've run (artisan ui vue --auth) and it installed bootstrap and jquery as well as Vuejs
I know I can uninstall them manually but i want to know is that the way it is supposed to work?
Did I missed something?
includes bootstrap then that's not true, it just loads the bootstrap.js file within the resources/js folder which just requires axios and loadash by default, and sets the token to axios.
In Laravel < 6 you could run php artisan preset none which will delete the frontend, but in the new versions is as you said you need to install the package manually and run the ui vue --auth artisan command.
And except for the ExampleComponent that uses bootstrap classes, but if you mount it to the view you'll see it will be broken :) the bootstrap is not loaded by default anymore.
Let me know if this clears things up. I just tried the steps on a fresh project to make sure.
So there is no bootstrap nor jQuery, as I said above, I installed it now also on my machine, and I don't see any bootstrap nor jQuery reference, even after installing the laravel/ui package.
update
so here it is:
it is not an option
the vue scaffolding command php artisan ui vue install the "bootstrap" preset and then "vue"
so I guess the only thing should be done is uninstall bootstrap and jQuery!!
if you run just the first command php artisan ui vue --auth, but not the second command php artisan ui bootstrap --auth you will have both bootstrap and jquery in your dependencies!
right?
I know I am not required to do so!
and I know I can remove them manually later
my question was: is it supposed to be that way or I did missed something?
or in another word: is there any cleaner way to install only VueJS??