Closed zotil closed 1 year ago
package.json
{
"name": "project_front",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@tippyjs/react": "^4.2.6",
"axios": "^0.27.2",
"chart.js": "^3.8.0",
"date-and-time": "^2.4.1",
"iso-3166-1": "^2.1.1",
"primeicons": "^5.0.0",
"primereact": "^8.2.0",
"react": "^18.0.0",
"react-circle-flags": "^0.0.18",
"react-dom": "^18.0.0",
"react-icons": "^4.4.0",
"react-router-dom": "^6.3.0",
"react-svg-worldmap": "^2.0.0-alpha.3",
"serve": "^14.0.1",
"validator": "^13.7.0"
},
"devDependencies": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^1.3.0",
"autoprefixer": "^10.4.7",
"postcss": "^8.4.14",
"tailwindcss": "^3.1.6",
"vite": "^2.9.9"
}
}
Was this really never solved? I'm having the same issue.. Works fine in Vanilla React but cant get it to work with Vite!
Sorry everyone, I have been away doing my Masters and working full time. I am going to get back to this starting tomorrow. Thanks for your patience. -Yams
I believe this was an issue with the tooltip, I also think that I fixed it now. Can you check if this works @TheLonerCoder @zotil? Thanks for your patience, -Yams
Closing this ticket for now, let me know if the issue persists
Hi, I tried to use this lib with vite + react installing with
yarn add react-svg-worldmap
Install output:
Then I wrote the component:
And when trying to run the vite app with
yarn run dev
I get the following output: