react-workspaces / react-workspaces-playground

⚛️ 🐈 Zero Config Create-React-App Monorepos with Yarn Workspaces, Lerna and React Storybook.
https://react-workspaces.github.io/react-workspaces-playground/
765 stars 128 forks source link

react-create-app, antd, typescript #41

Closed konrad-marzec closed 4 years ago

konrad-marzec commented 4 years ago

I tried react-app-rewired with customize-cra to configure antd. yarn start:app-ts fails with error. https://aleksandrhovhannisyan.github.io/blog/dev/how-to-set-up-react-typescript-ant-design-less-css-modules-and-eslint/

Module parse failed: Unexpected token (4:13)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import './CompOne.css';
| 
> const CompOne: React.FC = () => {
|   return (
|     <div className="Comp">
F1LT3R commented 4 years ago

Did you try from the existing demo in this repository? Or did you start from scratch?

F1LT3R commented 4 years ago

Closing as no response. Feel free to reopen if you want me to help debug.

acestudiooleg commented 4 years ago

same situation