Uniswap / widgets-demo

@uniswap/widgets demo
GNU General Public License v3.0
41 stars 66 forks source link

Create a version with Vite #8

Open rafinskipg opened 1 year ago

rafinskipg commented 1 year ago

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 commented 1 year ago

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

beautyfree commented 11 months ago

i fixed it using this:

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