我引入了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呢?
548k questions
547k answers
4 comments
86.3k users