DEV Community

Cover image for My Portfolio Made With ReactJS
Prince Jaiswal
Prince Jaiswal

Posted on

My Portfolio Made With ReactJS

Portfolio

Visit Portfolio

Discussion (12)

Collapse
maulanarifai114 profile image
Raden Maulana Rifa'i Abdullah

image

you should hide the "/dist" route

Collapse
princejaiswal profile image
Prince Jaiswal Author

why ? And How To Do It ?

Collapse
maulanarifai114 profile image
Raden Maulana Rifa'i Abdullah • Edited on
  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 Author

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 Author • Edited on

Not Working

This Is Coming When I Add dist/

Thread Thread
maulanarifai114 profile image
Raden Maulana Rifa'i Abdullah • Edited on

I'm looking your repos, this is bad idea when you just upload the built source, you have to upload whole source, except "node_modules" and "build" folder, let netlify build in their server.

You can check mine github.com/maulanarifai114/templat...

  1. First add new site from existing project
    image

  2. Let netlify get authentication from your github

  3. Choose the repo
    image

  4. You can deploy your site, just waiting for build (mine use yarn, you can use npm)
    image

Thread Thread
princejaiswal profile image
Prince Jaiswal Author

yes , i done all your steps

Collapse
toshitasingh profile image
Toshita Singh

Beautiful portfolio Prince👏

Collapse
valentinkrajzelman profile image
Valentin Krajzelman

really impressive dude congrats

Collapse
bhavyashah profile image
Bhavyashah

Really I like this portfolio keep it up👍

Collapse
vikas6377297826 profile image
VIKAS PATEL

really nice website amazing.