Install MikTex
I. Install for all user.
II. Always click next to finish install.
III. Click on "Check for updates now"
Check System environment path
I. Find ็ฐๅข่ฎๆธ
II. Click Red -> Blue -> Green
III. Check whether miktex env available, if don't, uninstall miktex and go back to step 1.
Open MikTex Console
Install Vscode Extension : [latex workshop] & [latex utilities] & [vscode-pdf]
Access setting of vscode (้่ฃกๆ่ฉฒไธ็จๅ)
Filter Setting -> type "recipe" -> click "Edit in setting.json"(้่ฃกๆ่ฉฒไธ็จๅ)
Find [xelatex] and move to the first place like below pic. It means that the compiler of latex will use the xelatex first to compile, and xelatex is a chinese support builder.(้่ฃกๆ่ฉฒไธ็จๅ)
Create a folder and create a REPLACETHIS.tex, use below example to create a fundamental tex file. (้่ฃกๆ่ฉฒไธ็จๅ)
Build tex to pdf
When building pdf, the package installation frame will show up, remember to install all the time and keep the [Always show this dialog] always click on.
Finally, you can see that two languages will work properly.
https://strawberryperl.com/
https://miktex.org/download
https://blog.csdn.net/qq_34809033/article/details/80680280
https://kaibaoom.tw/posts/notes/vscode-latex/
https://show6114.com/2018/02/28/latex-en-ch-preamble-2018/comment-page-1/