Update to a more recent version of poi;
This commit is contained in:
parent
bbf678bee1
commit
8c870de6bd
@ -29,9 +29,11 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^5.8.1",
|
"@fortawesome/fontawesome-free": "^5.8.1",
|
||||||
"poi": "^9.0.0",
|
"poi": "^12.5.8",
|
||||||
"poi-preset-bundle-report": "^2.0.0",
|
"poi-preset-bundle-report": "^2.0.0",
|
||||||
"poi-preset-offline": "^9.0.0",
|
"poi-preset-offline": "^9.0.0",
|
||||||
"serve": "^6.1.0"
|
"serve": "^6.1.0",
|
||||||
|
"vue": "^2.6.10",
|
||||||
|
"vue-template-compiler": "^2.6.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,28 +2,23 @@ const path = require('path');
|
|||||||
const pkg = require('./package');
|
const pkg = require('./package');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: [
|
entry: [
|
||||||
'src/polyfills.js',
|
'src/polyfills.js',
|
||||||
'src/index.js'
|
'src/index.js',
|
||||||
],
|
],
|
||||||
html: {
|
output: {
|
||||||
title: pkg.productName,
|
html: {
|
||||||
description: pkg.description,
|
title: pkg.productName,
|
||||||
template: path.join(__dirname, 'index.ejs')
|
description: pkg.description,
|
||||||
},
|
template: path.join(__dirname, 'index.ejs')
|
||||||
postcss: {
|
},
|
||||||
plugins: [
|
publicUrl: '/magellan',
|
||||||
// Your postcss plugins
|
},
|
||||||
]
|
//presets: [
|
||||||
},
|
//require('poi-preset-bundle-report')(),
|
||||||
presets: [
|
//require('poi-preset-offline')({
|
||||||
require('poi-preset-bundle-report')(),
|
//pwa: './src/pwa.js', // Path to pwa runtime entry
|
||||||
require('poi-preset-offline')({
|
//pluginOptions: {} // Additional options for offline-plugin
|
||||||
pwa: './src/pwa.js', // Path to pwa runtime entry
|
//})
|
||||||
pluginOptions: {} // Additional options for offline-plugin
|
//],
|
||||||
})
|
|
||||||
],
|
|
||||||
output: {
|
|
||||||
publicUrl: '/magellan',
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
@ -36,7 +36,7 @@ import * as L from 'leaflet';
|
|||||||
|
|
||||||
import store from '../store';
|
import store from '../store';
|
||||||
|
|
||||||
import Sidebar from './Sidebar';
|
import Sidebar from './Sidebar.vue';
|
||||||
|
|
||||||
const TILE_URL = 'https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png';
|
const TILE_URL = 'https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png';
|
||||||
const ATTRIBUTION = 'Carte données © <a href="https://osm.org/copyright/">OpenStreetMap (ODbL)</a> / fond OSM-FR (CC-by-SA), <a href="https://www.data.gouv.fr/fr/datasets/points-dinterets-openstreetmap/">POI: OpenStreetMap (ODbL)</a>, <a href="https://www.data.gouv.fr/fr/datasets/base-d-adresses-nationale-ouverte-bano/">adresses BANO (ODbL)</a>, <a href="https://github.com/addok/addok">geocodeur addok</a>';
|
const ATTRIBUTION = 'Carte données © <a href="https://osm.org/copyright/">OpenStreetMap (ODbL)</a> / fond OSM-FR (CC-by-SA), <a href="https://www.data.gouv.fr/fr/datasets/points-dinterets-openstreetmap/">POI: OpenStreetMap (ODbL)</a>, <a href="https://www.data.gouv.fr/fr/datasets/base-d-adresses-nationale-ouverte-bano/">adresses BANO (ODbL)</a>, <a href="https://github.com/addok/addok">geocodeur addok</a>';
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
<script>
|
<script>
|
||||||
import * as _ from 'leaflet-sidebar-v2';
|
import * as _ from 'leaflet-sidebar-v2';
|
||||||
|
|
||||||
import Search from './Search';
|
import Search from './Search.vue';
|
||||||
import ListAll from './ListAll';
|
import ListAll from './ListAll.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "sidebar",
|
name: "sidebar",
|
||||||
|
Loading…
Reference in New Issue
Block a user