create-micro-app
是一款通过命令行快速生成微应用模板的工具。
yarn start
就可以快速预览微应用 Demo。yarn start:proxy
就可以代理到域名,运行 SaaS 服务。Node.js 要求最低版本为 v14.0.0。
npx @tuya-sat/create-micro-app@latest app -t react-ts
npx @tuya-sat/create-micro-app@latest app -t react-ts
npx @tuya-sat/create-micro-app@latest app
npx @tuya-sat/create-micro-app@latest app -t vue
npx @tuya-sat/create-micro-app@latest app -t vue-ts