Closed FaDeAway666 closed 2 years ago
My iconDirs is [path.resolve(__dirname, 'src/assets/svgs')] I can get icon like this but if there are sub directories in folder src/assets/svgs, I can't get icon
[path.resolve(__dirname, 'src/assets/svgs')]
src/assets/svgs
能不能支持一下根路径递归,不要传递path数组呢
You can set symbolId: 'icon-[name]', or icon-svgs-user-bi-add-app
icon-svgs-user-bi-add-app
My iconDirs is
[path.resolve(__dirname, 'src/assets/svgs')]
I can get icon like this but if there are sub directories in foldersrc/assets/svgs
, I can't get icon