- React 16 Essentials(Second Edition)
- Artemij Fedosejev Adam Boduch
- 100字
- 2021-07-02 22:25:20
Creating a web page
If you're hungry for some React goodness, then I have great news for you! We're almost there. All that's left to do is to create index.html
with a link to our snapterest.js
script.
Create the index.html
file in the ~/snapterest/build/
directory. Add the following HTML markup to it:
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" /> <title>Snapterest</title> <link rel="stylesheet" > </head> <body> <p id="react-application"> I am about to learn the essentials of React.js. </p> <script src="./snapterest.js"></script> </body> </html>
Open ~/snapterest/build/index.html
in a web browser. You should see the following text: I am about to learn the essentials of React.js. That's right, we have finished setting up our project, and it's time to get to know React!
推薦閱讀
- Spring Boot 2實戰之旅
- TypeScript Essentials
- Oracle Exadata性能優化
- 小創客玩轉圖形化編程
- Practical Internet of Things Security
- 精通軟件性能測試與LoadRunner實戰(第2版)
- MATLAB定量決策五大類問題
- Reactive Android Programming
- Java程序設計
- Learning Concurrency in Kotlin
- Microsoft Dynamics AX 2012 R3 Financial Management
- 圖數據庫實戰
- Android Game Programming by Example
- Python Projects for Kids
- OpenCV Android開發實戰