Reactjs no matter the css

Asked

Viewed 51 times

-3

I’d like to know what the problem is with:

import './styles.css'.

The error is as follows:

./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??postcss!./src/index.css) Error: No valid exports main found for 'C:\Users\Serginho\Desktop\React-Native\DreamJob\__test__\teste\node_modules\colorette'

I already develop in React Native, but I don’t know much about Reactjs errors.

  • has to put all component code?

1 answer

-3

That point after . css can be your mistake, remove and leave only so:

import './Styles.css'

Browser other questions tagged

You are not signed in. Login or sign up in order to post.