Closed hatchli closed 1 year ago
experiencing the same issue.
Thanks for the report, latest version of create-r3f-app should fix this issue.
Thanks for the report, latest version of create-r3f-app should fix this issue.
Of course! Unfortunately the latest version builds successfully following yarn run dev,
but the output is not correct (see attached).
When performing clean install with
styled-components
, viayarn create r3f-app next test5 styled
Installation goes fine (though regardless of whether -ts is provided or not, the following occurs:On
yarn run dev
receive error:Looking at the file, besides the aforementioned
import {} from ''
, there is no difference between this file and the tailwind generated (default) version [which does work].Deleting the failed import results in the project building, but not correctly and no assets loading and no styling being applied.
Following the solution provided at #125 only works if
styled
is omitted.Node version
v16.19.1
,macOS 13.3.1