Home >Web Front-end >JS Tutorial >How to develop WebAppDemo based on WebStorm, React and Ant.Design

How to develop WebAppDemo based on WebStorm, React and Ant.Design

一个新手
一个新手Original
2017-09-27 10:16:074724browse

Build a react project from scratch

Prerequisites:

Webstorm and nodejs have been installed.

Install create-react-app and yarn

npm install -g create-react-app yarn

Open WebStorm to create the project


Install antd

yarn add antd --save

Modify app.js code

React, { Component } ;logo ;;{ Button } ;App Component {  () {    (      
        
          {logo}
          Welcome to React
        
          Button
        
          To get started, edit src/App.js and save to reload.        
      
    );
  }
}App;

The above is the detailed content of How to develop WebAppDemo based on WebStorm, React and Ant.Design. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn