DEV Community

Cover image for My Portfolio Made With ReactJS

My Portfolio Made With ReactJS

Prince Jaiswal on January 20, 2022

Visit Portfolio
Collapse
 
maulanarifai114 profile image
Raden Maulana Rifa'i Abdullah

image

you should hide the "/dist" route

Collapse
 
princejaiswal profile image
Prince Jaiswal

why ? And How To Do It ?

Collapse
 
maulanarifai114 profile image
Raden Maulana Rifa'i Abdullah • Edited
  1. Choose your sites

  2. Go to site settings
    image

  3. Go to build & deploy (sidebar)
    image

  4. Set publish directory to "dist/"
    image

You can set like mine

Why? because it looks more professional than showing the "dist" folder.

Next, you have to add the file "_redirects" in the root folder so that when refreshed it doesn't happen "Page not found".

maybe you can see the detailed explanation here
dev.to/rajeshroyal/page-not-found-...

but i like your website, more animation, its wonderful

Thread Thread
 
princejaiswal profile image
Prince Jaiswal

Thanks For Helping

Thread Thread
 
maulanarifai114 profile image
Raden Maulana Rifa'i Abdullah

Your welcome, let me know once done

Thread Thread
 
princejaiswal profile image
Prince Jaiswal • Edited

Not Working

This Is Coming When I Add dist/

Collapse
 
valentinkrajzelman profile image
Valentin Krajzelman

really impressive dude congrats

Collapse
 
toshitasingh profile image
Toshita Singh πŸ’œ

Beautiful portfolio PrinceπŸ‘

Collapse
 
vikas6377297826 profile image
VIKAS PATEL

really nice website amazing.