Import library css without relative import path

This commit is contained in:
Maciej Ziarkowski 2019-11-13 19:23:22 +00:00
parent bc76185613
commit 0df2a369f4
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import React, { Fragment } from 'react'; import React, { Fragment } from 'react';
import { Link, Route, Switch } from 'react-router-dom'; import { Link, Route, Switch } from 'react-router-dom';
import '../../node_modules/bootstrap/dist/css/bootstrap.min.css'; import 'bootstrap/dist/css/bootstrap.min.css';
import './app.css'; import './app.css';
import Header from './header'; import Header from './header';

View File

@ -2,7 +2,7 @@ import { GeoJsonObject } from 'geojson';
import React, { Component, Fragment } from 'react'; import React, { Component, Fragment } from 'react';
import { AttributionControl, GeoJSON, Map, TileLayer, ZoomControl } from 'react-leaflet-universal'; import { AttributionControl, GeoJSON, Map, TileLayer, ZoomControl } from 'react-leaflet-universal';
import '../../../node_modules/leaflet/dist/leaflet.css'; import 'leaflet/dist/leaflet.css';
import './map.css'; import './map.css';
import { HelpIcon } from '../components/icons'; import { HelpIcon } from '../components/icons';