Skip to content

Using Ionicons with a bundler #1133

@raymondboswel

Description

@raymondboswel

URL
https://ionic.io/ionicons/usage

I'm currently using ionicons along with Ionic v6 in a Svelte project bundled with Vite. I would like to have everything bundled for offline use, so using a remote reference such as <script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script> in index.html as suggested by the documentation page is not a suitable strategy for me.

So the missing documentation is how to use Ionicons in a bundled context without using @ionic/angular / react / vue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions