This commit is contained in:
Tim_note 2025-02-08 14:01:05 +08:00
parent 425c861d82
commit d510d0cf67

View File

@ -6,14 +6,14 @@
## (重要)html與tsx的關係 ## (重要)html與tsx的關係
![image](../assets/2-2.jpg) ![image](../assets/2-2.jpg)
###APP.tsx與APP.css ### APP.tsx與APP.css
React框架下主要開發的頁面 React框架下主要開發的頁面
###index.html與index.css ### index.html與index.css
用來包裝App.tsx頁面 用來包裝App.tsx頁面
index.css主要用來改全域的css index.css主要用來改全域的css
###main.tsx ### main.tsx
程式進入點將App.tsx渲染在index.html上然後將網站run起來 程式進入點將App.tsx渲染在index.html上然後將網站run起來
(可以以winform或pyqt的app.run下去理解) (可以以winform或pyqt的app.run下去理解)