简体   繁体   English

public 和 source 文件夹不在 create-react-app 中

[英]public and source folders don't come in create-react-app

react-app the command it won't work and it won't create the Public and the Source folder that is weird. react-app 命令它不起作用,它不会创建奇怪的 Public 和 Source 文件夹。 I've tried many times and even with yarn it still won't work!我已经尝试了很多次,即使使用纱线它仍然无法正常工作! Please tell me why this is happening thanks请告诉我为什么会这样谢谢

try this in your command line tool:在你的命令行工具中试试这个:

npx create-react-app test

It will create a React-App-template in a folder called "test".它将在名为“test”的文件夹中创建一个 React-App-template。 It will include all the folders and features you are looking for.它将包括您正在寻找的所有文件夹和功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM