diff options
-rw-r--r-- | main.js | 1 | ||||
-rw-r--r-- | style.css | 1 | ||||
-rw-r--r-- | vite.config.js | 1 |
3 files changed, 2 insertions, 1 deletions
@@ -59,7 +59,6 @@ import { register as registerProjection } from 'ol/proj/proj4.js'; import { Modal, Popover } from 'bootstrap'; -import '@fontsource/inter/latin-400.css'; import './style.css'; "use strict"; @@ -1,6 +1,7 @@ @import "~bootstrap/dist/css/bootstrap.css"; @import "~bootstrap-icons/font/bootstrap-icons.css"; @import "~ol/ol.css"; +@import "~fontsource/inter/latin-400.css"; html, body { margin: 0; diff --git a/vite.config.js b/vite.config.js index b0880df..2e513f9 100644 --- a/vite.config.js +++ b/vite.config.js @@ -24,6 +24,7 @@ export default { "~bootstrap": path.resolve(__dirname, "node_modules/bootstrap"), "~bootstrap-icons": path.resolve(__dirname, "node_modules/bootstrap-icons"), "~ol": path.resolve(__dirname, "node_modules/ol"), + "~fontsource": path.resolve(__dirname, "node_modules/@fontsource"), } }, server: { |