Can I combine Vue JS with Laravel and bootstrap? [closed] - laravel

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I would create simple website with forum. I would use Vue JS with Laravel and Bootstrap. Is it good combination? Vue JS is necessary for me, Laravel and Bootstrap can be changed for something else, but I don't know what could be better to use in this situation.

By default, fresh Laravel applications contain an ExampleComponent.vue Vue component located in the resources/js/components directory. Single file components provide a very convenient approach to building
JavaScript driven applications.
https://laravel.com/docs/5.8/frontend#writing-vue-components It is a good approach. Components made in Vue are much easier to handle, as opposed to repeating the same code in different blade templates.

Related

Building responsive single-page web app using laravel vue [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
How am I supposed to use laravel with vue to develop a responsive single-page web app?
I am working on a project which requires laravel vue.
make Vue app inside Laravel using Laravel mix.
make each of FE(Vue) and BE(Laravel) in a separate subdomain, then connect them via API.
I prefer the second approach.

Where to put classes in a Laravel project [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I have a coded years ago a custom PHP class to create and manage HTML tables.
I'd like to add it in my new Laravel project.
Where do you think it would be the best to put those files ?
Best regards,
Nicolas
It's as you want. Laravel adopts the MVC architecture, if you see that your PHP class deals with databases put it Model folder (/App), if it's dealing with views, put it in views folder (/resources/views) and if it's a controller class you have to put it in controller (/App/Http/Controllers).
But the main thing you have to do is to read the Laravel documentation to understand really how it works. The link for the documentation is https://laravel.com/docs

Best way to implement Service Worker in a Laravel/Vue SPA [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
What is the best way to turn my Laravel/Vue SPA into a PWA? I know these options:
SW-Precache-Webpack-Plugin
Workbox
The first option, the webpack plugin, seems outdated as it is updated for the last time mid 2018. I could use Workbox but do I have to do something specific for it to work well with Laravel/Vue? I read this answer but I think that's a lot of a hassle and I hope this can be done a lot easier. I don't know if it is required to use webpack. Anyone who has got experience with this and want to help me out? Any information and tips are welcome as I can't find that much of information about this.
I've been using workbox with same stack (Laravel + VueJS) and it worked like a charm. Apart from that I don't remember this to be extremely difficult or something similar.
Just installed workbox, add the js reference on the html and not much more, as it is js in the end, once you change your SW the npm run watch will build/reload the app.js and it should work.
Hope it helps

Which template engine i have to use? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
i am developing website spring mvc , hibernate with my SQL database. my colleagues suggested to me to use free marker or velocity template engine but i'm using jsp template engine .i'm totally confused. So, can anyone please tell me jsp is best or not and why i will go for jsp or?.
Each one of them have some advantages that you could use if you need them, as always with this kind of questions the answers depends on what you want to achieve and how a template engine could help you.
For example, if you want to use the generated HTML pages as working mockups (because you need to show them), I would go for Thymeleaf. This document shows the key differences between Thymeleaf and JSP.

What is the difference between Zend & CodeIgniter [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I would like to know what is the different between CodeIgniter and Zend MVC Framework in regarding to coding style?
e.g. Retrieving/Inserting values in the database etc.
The concept are similar but the coding style is different:
Zend Framework uses both table gateway pattern and row gateway pattern but CodeIgniter only uses the later.
If you are asking about the conventions used in naming variables and methods then Zend is different from CodeIgniter. Therefore the coding style are not the same!
Hope it helps!

Resources