adrianhajdin / project_3D_developer_portfolio

The most impressive websites in the world use 3D graphics and animations to bring their content to life. Learn how to build your own ThreeJS 3D Developer Portfolio today!
https://jsmastery.pro
6.03k stars 1.35k forks source link

How to fix white screen when importing new assets #93

Closed rsbassi9 closed 1 year ago

rsbassi9 commented 1 year ago

My code works, but I want to update the icons for the work experience and tech sections.

I have uploaded the relevant PNG files to the assets folder, but in index.js, whenever I add the files into the "import" section from "../assets", I get a white screen.

I have the relevant files in the same locations as Adrian ( ie, company, tech etc.) but if i add the files into the import statement, I get a white page.

Anybody know how to fix this?

arpit-garg-1995 commented 1 year ago

There is also an index.js in assets folder, look into that.

rsbassi9 commented 1 year ago

There is also an index.js in assets folder, look into that.

Amazing, thanks! Took me a moment but realized that was the problem