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

    Problem with vue2-google-map and ssr

    Framework
    2
    3
    246
    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.
    • J
      jhon last edited by

      Hello.

      I’m trying use the component vue2-google-map (https://www.npmjs.com/package/vue2-google-maps) in a site with ssr, but not working, this the error:

      Error (500)
      render function or template not defined in component: map-casa

      In mode SPA there not problem, is only un mode ssr.

      Thanks
      Screenshot_20191106_232954.png

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

        @jhon , could you please share your code for implementing in Quasar?

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

          Try this in your boot:

          {
                  server: false,
                  path: 'googlemaps'
                },
          
          1 Reply Last reply Reply Quote 0
          • First post
            Last post