@rdub/next-leaflet
v0.1.0
Published
[Leaflet] utils for [Next.js]
Downloads
12
Readme
@rdub/next-leaflet
Install
npm install @rdub/next-leaflet
You'll also want to this CSS (required by src/map/settings.tsx) to your _app.tsx
:
import '@fortawesome/fontawesome-svg-core/styles.css'
Note also how src/map/settings.tsx disables automatic fontawesome CSS injection:
import { config, IconProp } from '@fortawesome/fontawesome-svg-core'
config.autoAddCss = false