启动 Previewer 预览模式
详见链接:
https://www.malaoshi.top/show_1GW1xk0Rfy0x.html
打开 Index.ets 文件
工程中的文件特别多,打开下图红框处的文件:
编写程序
在 Index.ets 文件的开头,写下面程序:
console.log("Hello World")
运行
按 ctrl + s,保存后自动运行
详见链接:
https://www.malaoshi.top/show_1GW1xk0Rfy0x.html
工程中的文件特别多,打开下图红框处的文件:
在 Index.ets 文件的开头,写下面程序:
console.log("Hello World")
按 ctrl + s,保存后自动运行