import React from 'react'; why vs code is showing cssSyntax error in the line for import

38 views Asked by At

the import keyword is getting underlined and showing cssSyntax error and is getting wavey unerlined.I installed all the packages using npx create-react-app and now this error persists pls help me on how to fix this error?

1

There are 1 answers

0
Aravind Cp On

This may be an issue with compiler. try to close compiler and reopen again/update vs code and make sure you have installed required extension for react ,JavaScript and typescript to... Happy coding.