![vue 项目加载中自定义效果](https://img-blog.csdnimg.cn/direct/11ebac3435da4ffc87aa9dc1cb1f5c7d.png)
**直接在vue项目的运行入口文件:index.html 上代码:**
<%= webpackConfig.name %>
<div class="parentBox">
<svg class="scalableBox" viewBox="0 0 128 256" width="128px" height="256px" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="ap-grad1" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="hsl(223,90%,55%)" />
<stop offset="100%" stop-color="hsl(253,90%,55%)" />
</linearGradient>
<linearGradient id="ap-grad2" x1="0" y1="0" x2="0" y2="1">
<stop offset=