同步操作将从 OpenHarmony/developtools_ace_ets2bundle 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Provide declarative paradigm syntax compilation conversion, syntax verification, rich and friendly syntax error prompting capabilities.
npm install
> npm -v
6.14.8
> node -v
v12.18.3
Please install the latest stable version.
Enter the root directory of the compiler:
npm config set registry http://registry.npm.taobao.org
npm config set strict-ssl false
npm cache clean -f
npm install
Enter the root directory of the compiler:
npm run build
npm run compile
The sample
project will be compiled. The output is in the sample/build
directory.
Enter the root directory of the compiler:
npm run create [projectName]
Note: If projectName
is not specified, the HelloAce
project will be compiled.
For example, use the following line to create a project named foo
:
$ npm run create foo
The directory structure of project foo
:
For example, create a file bar.ets
in the pages
directory. And then add the following lines to "pages"
field in manifest.json
:
"pages": [
"pages/index",
"pages/bar"
]
Enter the root directory of the compiler:
$ npm run build
$ npm run compile [projectName]
Note: If projectName
is not specified, the sample
project will be compiled. In the project root directory, the compilation result is in the build
directory.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。