Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

base apparel

#vite#tailwind-css

@tusharshah21

Desktop design screenshot for the Base Apparel coming soon page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

used zod insteal of using various conditions

What specific areas of your project would you like help with?

while deploying it on vercel faced error If you do want to externalize this module explicitly add it to build.rollupOptions.external

even added the external dependency the website varies on rendering because of this try to run it locally. and it would be please if someone would guide me to resolve it

Community feedback

P
markus 1,430

@markuslewin

Posted

You want zod to be part of your JS bundle, so you shouldn't have to change your vite.config.js at all. 🤔

Try removing the external property:

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
});
0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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