博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
使用 WebStorm 创建 React App
阅读量:6594 次
发布时间:2019-06-24

本文共 1564 字,大约阅读时间需要 5 分钟。

image.png
/usr/local/bin/node /usr/local/lib/node_modules/create-react-app/index.js .Creating a new React app in /Users/jack/WebstormProjects/helloworld.Installing packages. This might take a couple minutes.Installing react-scripts from npm...> fsevents@1.1.2 install /Users/jack/WebstormProjects/helloworld/node_modules/fsevents> node install[fsevents] Success: "/Users/jack/WebstormProjects/helloworld/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installedPass --update-binary to reinstall or --build-from-source to recompile> uglifyjs-webpack-plugin@0.4.6 postinstall /Users/jack/WebstormProjects/helloworld/node_modules/uglifyjs-webpack-plugin> node lib/post_install.js+ react-scripts@1.0.17added 1263 packages in 116.581snpm notice created a lockfile as package-lock.json. You should commit this file.Installing react and react-dom using npm...+ react-dom@16.1.1+ react@16.1.1added 2 packages in 19.051sSuccess! Created helloworld at /Users/jack/WebstormProjects/helloworldInside that directory, you can run several commands:  npm start    Starts the development server.  npm run build    Bundles the app into static files for production.  npm test    Starts the test runner.  npm run eject    Removes this tool and copies build dependencies, configuration files    and scripts into the app directory. If you do this, you can’t go back!We suggest that you begin by typing:  cd /Users/jack/WebstormProjects/helloworld  npm startHappy hacking!Done

原文:

演示:

译者:

译者的话:这是一篇非常优秀的 React 教程,该文对 React 组件、React Router 以及 Node 做了很好的梳理。

转载地址:http://mwjio.baihongyu.com/

你可能感兴趣的文章
【wireshark】wireshark 出现There are no interfaces on which a capture can be done.的解决方法...
查看>>
Google Gson 使用简介
查看>>
Python 字典-一个键对应多个值
查看>>
MySql_x64免安装版在win10环境下的配置
查看>>
写作修改的体会
查看>>
交换机技术
查看>>
Spring Controller中的异常统一处理
查看>>
Web API 下的 ActionFilter 与 ExceptionFilter
查看>>
lintcode 447 Search in a Big Sorted Array
查看>>
【第一组】第十五次冲刺例会纪要
查看>>
IOS开发第一堂课知识点,苹果公司的发展历程
查看>>
jQuery通过地址获取经纬度demo
查看>>
电信中兴F460光猫sendcmd命令
查看>>
一个简单的条件概率问题
查看>>
关于RSA算法
查看>>
窗口在掉标题栏不显示, 最小化后左下角有残留的问题
查看>>
python开发面向对象基础:人狗大战学面向对象
查看>>
o3优化
查看>>
线段树练习4
查看>>
Mysql之高可用
查看>>