Skip to content
New issue

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

Create a version with Vite #8

Open
rafinskipg opened this issue May 22, 2023 · 2 comments
Open

Create a version with Vite #8

rafinskipg opened this issue May 22, 2023 · 2 comments

Comments

@rafinskipg
Copy link

We are using vite in our monorepo and tried bringing in the uniswap widget, without luck.

There's no clear information on how to compile this widget with Vite and it would be helpful.

Thanks

@N3koSempai
Copy link

i use vite too and get an error with fonts.css

@beautyfree
Copy link

beautyfree commented Oct 24, 2023

i fixed it using this:

    resolve: {
      alias: {
        "~@fontsource/ibm-plex-mono": "@fontsource/ibm-plex-mono",
        "~@fontsource/inter": "@fontsource/inter",
      },
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants