1.0.1 • Published 10 months ago

cra-template-starter v1.0.1

Weekly downloads
2
License
(MIT OR Apache-2....
Repository
github
Last release
10 months ago

Simple Starter create-react-app Template

A very simple starter template for create-react-app.
이 템플릿은 매우 심플한 프로젝트를 만들어 줍니다.

Use this template if you want to try something out quickly and profit from the create-react-app ecosystem.
create-react-app 을 사용하여 빠르게 프로젝트를 시작하려면 이 템플릿을 사용하세요.

Usage : 프로젝트 생성

npx create-react-app myproject --template starter
cd myproject
npm start

The template creates the following code structure
이 템플릿은 다음의 파일들을 자동생성합니다.

public/index.html:

<!DOCTYPE html>
<html lang="ko">
  <head>
    <meta charset="UTF-8" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
    />
    <title>Hello React</title>
  </head>
  <body>
    <div id="root"></div>
  </body>
</html>

src/index.js:

import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import reportWebVitals from "./reportWebVitals";

const root = ReactDOM.createRoot(document.querySelector("#root"));
root.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>
);
reportWebVitals(console.log);

src/App.jsx:

const App = () => <h1>Hello React Start App</h1>;
export default App;
1.0.1

10 months ago

0.9.8

11 months ago

0.9.7

11 months ago

0.9.9

11 months ago

0.9.3

11 months ago

0.9.6

11 months ago

0.9.5

11 months ago

0.9.0

11 months ago

0.9.2

11 months ago

0.9.1

11 months ago

0.0.1

6 years ago