entertainment-web-app using vuejs tailwind css antd and pinia
Design comparison
Solution retrospective
Did it fast with the help of tailwindcss and ant design
What specific areas of your project would you like help with?I am having trouble redeploy to vercel, the error said that it failed to load my vite config file and it cannot find my auto import module in vite, please help
Community feedback
- @markuslewinPosted 3 months ago
Hi!
You have to include all of your dependencies in the
package.json
file so that Vercel knows what to install before building your app.You can do this manually:
"dependencies": { // ... "axios": "^1.7.5", }, "devDependencies": { // ... "unplugin-auto-import": "^0.18.2", "unplugin-vue-components": "^0.27.4", }
Or with the npm CLI:
npm i axios npm i -D unplugin-auto-import unplugin-vue-components
Marked as helpful0@docuong0912Posted 3 months agoThanks @markuslewin , how did you know i’m having problem with these 2, have you encountered this before? I will give it a try tomorrow
0@markuslewinPosted 3 months ago@docuong0912 Yes, I've encountered similar problems before. I cloned the repo and tried to run
npm run build
, but Vite couldn't find those packages, so I realized I had to install them 🙂1@docuong0912Posted 3 months ago@markuslewin Thanks a lot, you saved my day, the solution is so simple, how silly i am :D, By the way, your solution looks awesome, really pixel perfect
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord