Search for locations using Nominatim API.
In this project, server-side rendering (SSR) is implemented using Node + Express.js , without third-party libraries.
To demonstrate the correct operation of server rendering and the hydration process on the client side, several pages have been added using Vue Router .
Pinia is used to manage the application state.
To visualize the search results, it was decided to include the Leaflet library. Since Leaflet functions exclusively in the browser, dynamic import of this library is provided in the onMounted()
Vue hook. This solution ensures that the library is loaded only on the client side, avoiding errors related to the absence of a global object window
on the server.
npm install
npm run dev
npm run build
npm run preview