We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我去除了之后,打包速度从 4min -> 36s.....
The text was updated successfully, but these errors were encountered:
vite环境下这样动态引入svg就行,插件已经剔除
const icon = ref(); const getPath = async () => { const path = `你的本地路径`; const { default: svg } = await import(path + "?raw"); icon.value = svg; }; getPath();
<template> <i :style="iconStyle" v-html="icon" v-if="icon"></i> </template>
Sorry, something went wrong.
mark
这样子用能封装插件吗?
我把插件剔除了, 用了我上面的方法。 这插件导致打包速度变慢。。不用了。
No branches or pull requests
我去除了之后,打包速度从 4min -> 36s.....
The text was updated successfully, but these errors were encountered: