Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vuestic inside Laravel project #26

Closed
33sKamal opened this issue Sep 13, 2017 · 5 comments
Closed

Vuestic inside Laravel project #26

33sKamal opened this issue Sep 13, 2017 · 5 comments

Comments

@33sKamal
Copy link

Hello all,
is there any way to migrate this one inside an laravel project.
thanks

@athiffau
Copy link

I would be interested in this as well. I spent a bunch of time trying to make this work but not successful yet. Laravel 5.3 project.

@someburner
Copy link
Contributor

someburner commented Sep 15, 2017

I'm sort of doing this myself actually, except I'm not using laravel verbatim, I'm using apiato for the server and have converted vuestic into an electron package. To serve it via laravel would be rather painful IMO. Here's my take:

On the one hand Laravel is nice because it manages so much for you, but there are issues with that. I'm new to laravel, but as I understand it the only practical way to do this, in a way that is seamless with laravel, is to use blade templating, like this. Laravel makes it sound like it's easy, but personally I don't like the idea of PHP templating inside what would otherwise be a purely Vue/JS project. Now you need to reconcile updates to vue and laravel and blade.

Hence my approach of using apiato as the "laravel" side. Then you just using normal REST APIs to get your data and your project can more easily be used if Laravel goes by the wayside or you want to use a different backend.

@33sKamal
Copy link
Author

okey so there is no way for now to have vue-cli applications inside laravel project

@smartapant
Copy link
Contributor

@someburner yep, it's better to use admin as a frontend app that consumes json api. I personally don't like to mix any templating with framework's templates

@mansouryaacoubi
Copy link

what about this? Vuestic-Laravel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants