jenadiusnicholaus / todo-list-reviews

MIT License
1 stars 0 forks source link

Deploy Todo on github pages #2

Open sainingo opened 2 years ago

sainingo commented 2 years ago

Hi @jenadiusnicholaus , You did a great Job So far.

DRY :+1:
Pretty clean code. +1 100 JavaScript Best practice +1 100

To solve your problem of deployment trying to follow the following steps: First steps:

1. create a new branch locally
2. run the command npm add gh-pages --develop
3. inside package.json `{
  "scripts": {

    "deploy": "gh-pages -d dist"

  }
}`
4. in webpack.config.json add the path to point to your project
eg Path: '/todo-list-reviews'
5. npm run build
jenadiusnicholaus commented 2 years ago

thanks