我引入了leaflet-side-by-side这个文件,在vite.config.js中设置如下:
leaflet-side-by-side
module.exports = { optimizeDeps: { include: ["leaflet", "leaflet-side-by-side"] } }
layout.css, range.css是在leaflet-side-by-side中被引入的
layout.css
range.css
我应该怎样配置vite.config.js呢?
1.4m articles
1.4m replys
5 comments
57.0k users