我引入了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呢?
2.1m questions
2.1m answers
60 comments
57.0k users