Git Product home page Git Product logo

Comments (6)

ayepRahman avatar ayepRahman commented on August 18, 2024 5

guys even i place a img folder in the /src iam still haaving the same issues

/src/img/img-examples.jpg

and i tried importing the imgae using sass

from create-react-app-typescript.

Havret avatar Havret commented on August 18, 2024 2

It comes with the recent update. For faster rebuilds, only files inside src are processed by Webpack. You need to put any JS and CSS files inside src, or Webpack won’t see them.

from create-react-app-typescript.

wmonk avatar wmonk commented on August 18, 2024

Yes as @Havret says, this is a new decision by create-react-app. You will have to move anything that you want to compile into the src directory.

from create-react-app-typescript.

corke avatar corke commented on August 18, 2024

Same as @ayepRahman, you find a way ?

from create-react-app-typescript.

Ankit09osr avatar Ankit09osr commented on August 18, 2024

guys you have to give a path relative to where your style.css and not relative to sass file. Because .css file is the one that is being used by index.html when loading the application.

from create-react-app-typescript.

mdmasumbillah avatar mdmasumbillah commented on August 18, 2024

@ayepRahman I'm same issue.

from create-react-app-typescript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.