Search Docs
Rsmax 默认支持用 TypeScript 开发。在 create-rsmax 中我们亦提供了 TypeScript 模板帮助你快速创建项目。 根据你的需要选择对应的小程序模版。
create-rsmax
你可以通过 npx 安装:
$ npx create-rsmax my-app-ts -t $ cd my-app-ts && npm i
使用 yarn 的方式:
$ yarn create-rsmax my-app-ts -t $ cd my-app-ts && yarn