LoginSignup
0
0

More than 3 years have passed since last update.

create-react-appからpugまで(その4)

Last updated at Posted at 2020-03-05

その1
https://qiita.com/DaisukeNishi/items/dae74d5dcf5ddb171b3d
その2
https://qiita.com/DaisukeNishi/items/e93a3448668f65df7a91
その3
https://qiita.com/DaisukeNishi/items/697fb3579d7dd69324b3
その5
https://qiita.com/DaisukeNishi/items/ca7d80c104ca7a792f9d
その6
https://qiita.com/DaisukeNishi/items/c8982546c803d2c5dc99

yarn ejectしたり、react-app-rewiredを使ったりと、
試行錯誤をやってきましたが、まずプロジェクト作成時に混ぜ込んだ方が
一番シンプルに行けるんではないか?と思った。

これ、便利そうな気がする。
https://github.com/kaminaly/react-pug-react-scripts
コマンドもとてもシンプルだし。あ〜でも個人がつくってるToolっぽいな。

npx create-react-app app-name --scripts-version react-pug-react-scripts
npx create-react-app app-name --scripts-version react-pug-react-scripts --typescript

なんかこう、料理の調味料を全部かごに入れた所で「CookDo」を見つけてしまったような気分・・・

数分後

なんかおかしいな。「cra-template」をローカルに落としてきたり。。

「gitignore」が見つからない、とか。。。。これもチョットコツがいるっぽいのか?
うむむむ、これも、ダメっぽい。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0