0
I want to build a vue.js + tailwind.css project for a production project that I developed in vite

In the terminal I use the following command as instructed by npm run build but I get the following error:

vite v3.2.3 building for production...
✓ 24 modules transformed.
Could not resolve '../assets/triangle%20white%20footer.svg' from src/components/TheHome.vue
error during build:
Error: Could not resolve '../assets/triangle%20white%20footer.svg' from src/components/TheHome.vue
    at error (file:///C:/Users/daler/OneDrive/Documents/GitHub/Lending_the_mobile_app/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
    at ModuleLoader.handleResolveId (file:///C:/Users/daler/OneDrive/Documents/GitHub/Lending_the_mobile_app/node_modules/rollup/dist/es/shared/rollup.js:22156:24)
    at file:///C:/Users/daler/OneDrive/Documents/GitHub/Lending_the_mobile_app/node_modules/rollup/dist/es/shared/rollup.js:22119:26 

Translated with www.DeepL.com/Translator (free version)

[[enter image description here](https://i.stack.imgur.com/4xpme.png)](https://i.stack.imgur.com/4rb3L.png)

I have only tried the npm run buildenter image description here

0 Answers0