Giter VIP home page Giter VIP logo

Comments (5)

smartapant avatar smartapant commented on May 22, 2024 1

@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

from vuestic-admin.

athiffau avatar athiffau commented on May 22, 2024

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.

from vuestic-admin.

someburner avatar someburner commented on May 22, 2024

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.

from vuestic-admin.

33sKamal avatar 33sKamal commented on May 22, 2024

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

from vuestic-admin.

mansouryaacoubi avatar mansouryaacoubi commented on May 22, 2024

what about this? Vuestic-Laravel

from vuestic-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.