The Vite component points to the assets folder but the vite config includes a 'build' folder. I fixed this for now by updating the Vite razor component but this might be better fixed in the config. eg. else { <link rel="stylesheet" href="/build/assets/app.css"/> <script type="module" src="/build/assets/app.js"></script> }