Commit b62597c2 authored by Sparkf's avatar Sparkf 🏙️
Browse files

temporarly use 3rd css source to prevent the tilde(~) problem when import css from node_modules.

parent 7adc02e0
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -593,8 +593,9 @@ export default {

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
@import '~maplibre-gl/dist/maplibre-gl.css';

@import 'https://code.bdstatic.com/npm/maplibre-gl@1.15.2/dist/maplibre-gl.css';
/*@import '~maplibre-gl/dist/maplibre-gl.css';*/
/* https://webpack.js.org/loaders/sass-loader/#resolving-import-at-rules */
.map-container {
  height: 400px;
  width: 100%;