No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Using Quasar components over the Laravel framework

    Show & Tell
    7
    15
    9854
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      willagner last edited by

      When i use Quasar on Laravel, i receive this message in Chrome “Uncaught ReferenceError: Vue is not defined at Object”.

      Anyone can help-me?

      1 Reply Last reply Reply Quote 0
      • a47ae
        a47ae last edited by

        Could you post your main javascript file where you import Vue and Quasar?

        1 Reply Last reply Reply Quote 0
        • F
          Fernando2684 @april last edited by Fernando2684

          @april Man, it works perfect. Thanks so much. I am already working with Laravel and Quasar and the app looks pretty good.

          1 Reply Last reply Reply Quote 0
          • A
            april last edited by

            I created another guide for Quasar v0.14. Hope it helps!

            http://blog.aprilpnguyen.com/2017/08/how-to-set-up-quasar-v014-on-laravelvue.html

            1 Reply Last reply Reply Quote 1
            • F
              Fernando2684 last edited by Fernando2684

              @April thanks for this amazing guide, helped a lot. Do you know how pwa template can be integrated with Laravel ?

              1 Reply Last reply Reply Quote 0
              • A
                april last edited by

                Since we don’t use Quasar’s build tools when using Quasar components with Laravel, we’ll need to modify Laravel Mix which is Laravel’s build tools. A quick google brought me to this article, perhaps you could give it a try? I will do when I have some spare time.

                https://medium.com/@IO_/https-medium-com-io-building-progressive-web-apps-with-laravel-57f6bfa3ddb1

                -april

                1 Reply Last reply Reply Quote 0
                • F
                  Fernando2684 last edited by Fernando2684

                  @april do you have plans to create a version using Quasar 15?

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    april @Fernando2684 last edited by

                    @fernando2684 I tried to do that today but didn’t have much luck and ran out of time. I also tried the UMD version (http://quasar-framework.org/guide/embedding-quasar.html) but couldn’t get it to work either. Perhaps, I’d better leave this to @rstoenescu to check if there’s a way to make Quasar more friendly with Laravel.

                    @rstoenescu Great work! Thank you for your hard work! Laravel has a huge community and it supports Vue, so I think it’s very beneficial for Quasar to provide an easy way to integrate with this framework. Perhaps something to consider…

                    1 Reply Last reply Reply Quote 0
                    • rstoenescu
                      rstoenescu Admin last edited by

                      https://github.com/neatpro/Laravel-Quasar

                      3 1 Reply Last reply Reply Quote 0
                      • F
                        Fernando2684 last edited by

                        Thanks @rstoenescu , it works fine in laravel for static pages that doesn’t requires too much functionalities. But i didnt find a way to use quasar inside .vue components dinamically, I mean on Vue components and .js that uses vuex. For sure there must exist a trick, so I hope @april can get it :).

                        1 Reply Last reply Reply Quote 0
                        • 3
                          3KyNoX @rstoenescu last edited by 3KyNoX

                          @rstoenescu said in Using Quasar components over the Laravel framework:

                          https://github.com/neatpro/Laravel-Quasar

                          Hello

                          It’s still on Quasar 0.14 far as I see.

                          That one looks like to be based on 0.15, that include major changes:
                          https://github.com/impxd/laravel-quasar-pwa-template

                          What’s your thoughts?

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post