static-react icon indicating copy to clipboard operation
static-react copied to clipboard

Syntax errors

Open amanjaggaPracto opened this issue 7 years ago • 2 comments

Is this repository active? I am getting syntax errors in my project when precompiling For one component image

For another component

image

amanjaggaPracto avatar Mar 09 '18 07:03 amanjaggaPracto

Looks like there's some babel issues. This library hasn't been updated recently, but you might be interested in one of these or just rolling your own:

  • https://github.com/c8r/x0
  • https://github.com/nozzle/react-static

jxnblk avatar Mar 09 '18 15:03 jxnblk

Hey thanks for the reference. But with older version of static-react, v 3.2.0 I am able to achieve the static rendering without CSS. For CSS I am getting this error

image Can you help me in solving this so that I don't have to look for another library?

amanjaggaPracto avatar Mar 13 '18 07:03 amanjaggaPracto