Instead of the Angular2's default application "Loading..", I would like to do a SVG Loading spinner. Is this possible?
Yes, you can simply replace the "Loading..." text inside the <my-app>
tags in your index.html file with any HTML or SVG and it should just render that content while the app loads and angular takes over rendering:
<my-app>
<svg>
<!-- your svg code here...-->
</svg>
</my-app>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.