ng4-geoautocomplete
ng4-geoautocomplete copied to clipboard
Server side rendering support
Hello i'm using this awesome library for my project but i found one thing that is restricting me to use it further which is server side rendering, how can we make this work with server side rendering (a.k.a Angular Universal). it will be good to have feature.
I found a patch for this. Just copy this module folder in your code repository to make it locally available. Remove reference from package.json and node_modules as well. Change in your module file to give the path of local folder where you copy this. It will work.
Yes i have tried the approach as you have mentioned and it works fine for me. Actually i was facing issue while rendering it on server side so i removed the references for 'ng4-geoautocomplete' from node modules, package.json and package.lock.json and changed the path in app.module file. Then i build the project and run command for ssr, it works fine for me.
Thanks @satishsomani