Home > Web Front-end > JS Tutorial > body text

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

一个新手
Release: 2017-09-27 10:16:07
Original
4679 people have browsed it

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
Copy after login

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;
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template