Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

mokumoku-temple/react-handson_vol01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Reactハンズオン

導入

$ npm install -g create-react-app
$ create-react-app react-like-button
$ cd react-like-button
$ npm start
$ open http://localhost:3000

編集

react-like-button/src/App.js
react-like-button/src/App.css

を編集する。

import React, { Component } from 'react';
import './App.css';

class App extends Component {
  render() {
    return (
      <div className="App">
        <div className="App-header">
          <img src={logo} className="App-logo" alt="logo" />
          <h2>Welcome to React</h2>
        </div>
        <p className="App-intro">
          To get started, edit <code>src/App.js</code> and save to reload.
        </p>
      </div>
    );
  }
}

export default App;

公開用ファイル

$ npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published