Home > Mobile >  How can I upload a webpack project ot the GitHub
How can I upload a webpack project ot the GitHub

Time:07-29

I Have a problem with GitHub. When I try to publish a project, built with SCSS and Webpack, Github doesn't connect styles to the page, although on my computer it works properly and there are no errors.

It looks like GitHub doesn't connect any of the stylesheets.

Here is an example. https://zubnoifey.github.io/webpack-example/ I didn't create a big file, just added a couple of strings to show what I am talking about. I connected the reset.css to the project, and when I run npm run start on my computer, it looks properly.

But when I push the repository to Github it looks like there are no styles at all. The same with images, they don't load, only the alteration. Ths is how it looks locally

CodePudding user response:

I got it. If I add to address /build it works

https://zubnoifey.github.io/cloudbudget-with-webpack/build/

  • Related