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

    Deploy Quasar into Static hosting site

    Help
    3
    5
    3921
    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.
    • rohityadav
      rohityadav last edited by

      Hi all !

      I want to know what is the best way to deploy quasar into a static web-hosting sites like netlify.

      I uses quasar 0.14

      Thanks

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

        Which part of it is unclear to you?
        Because Quasar / JavaScript SPAs are just static files, you do not need a special setup. Maybe you could tweak caching a bit for images and fonts, but other then that the requirements are minimal, just a web server that answers to a request should suffice. 🙂
        If it’s about the actual deployment, there are many different strategies. I wrote a bit about different strategies in this answer: http://forum.quasar-framework.org/topic/618/deploy-and-upgrade-quasar-app/2

        I haven’t used netlify myself, but it seems like you just have to create a new project on netlify, enter the link to your git repo and then configure the settings.
        Choose the branch you want to use, as deploy folder you enter dist and as build command npm run build. Basically, that’s it. I have taken these from this blog post by netlify, which describes not exactly Vue.js applications, but it happens that the folder and commands are the same: https://www.netlify.com/blog/2016/10/27/a-step-by-step-guide-deploying-a-static-site-or-single-page-app/

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

          @a47ae thank you for quick response appreciated. i got it

          1 Reply Last reply Reply Quote 0
          • J
            jimmack1963 last edited by

            also look at zeit.com’s now.
            go to the correct build folder, type ‘now’ and get a free static site (or a node server site, depending on what you publish)
            They will even manage your domain and swap project images at the dns level.

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

              We are currently working on deploy docs (they include zeit.com) so keep an eye out for them 🙂

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