How to use Ionic framework v5

I wrote a webapp back in 2020 using ionic framework. It imports the components/css via CDN. But that CDN now references v7 and my app looks really shitty. I don’t want to have to do a full update to use the newer version of ionic. I just want the app to work as it was designed.

Is there some way to install ionic v5 (a static CDN would be even better)?


You can specify the version like this:
1 Like

can you show how to use components and css via CDN?
It could be useful!


I would assume this (pulled from the docs and added the version).

<script type="module" src=""></script>
<script nomodule src=""></script>
<link rel="stylesheet" href="" />
1 Like