Answer the question
In order to leave comments, you need to log in
How to detect user geolocation and Nuxt.js + Laravel data output?
Tell me, there is a frontend on Nuxtjs and a backend on Laravel
It seems that I came to use the google maps api (but I'm not sure)
How to determine the user's city before loading the site
You will need to display the name of the city in the header and, before loading, write, for example, geolocation data to localStorage (or cache) and display data on the site (have time to send to api Laravel) for this city
Answer the question
In order to leave comments, you need to log in
Detect location and local timezone of users in Jav...
Detect User's Location Like A Pro Using Vue.js
and a dozen more articles that you can find on Google.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question