Leaflet.js popups are visible when page loads

I’m using this plugin for a project. When i create popup they are activated when the loads. I want them to open when user clicks on the marker. Any help? const mymap = L.map(‘mapid’).setView([40.399245, 49.876386], 10); const tile = L.tileLayer(‘https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}’, { attribution: ‘Map data &copy; <a href=”https://www.mapbox.com/”>Mapbox</a>’, maxZoom: 18, id: ‘mapbox.streets’, accessToken: ‘TOKEN’ }).addTo(mymap); const…

Details

Angular : service worker configuration

I’m trying to add pwa capabilities to a website running on angular 8. I followed a lot of tutorials, official and unofficial ones and I don’t understand what I’m doing wrong. ngsw-config.json is like this : { “$schema”: “./node_modules/@angular/service-worker/config/schema.json”, “index”: “/index.html”, “assetGroups”: [ { “name”: “app”, “installMode”: “prefetch”, “resources”: { “files”: [ “/favicon.ico”, “/index.html”, “/manifest.webmanifest”,…

Details