MorJS 安装与使用
2024-01-14 11:27 更新
- 安装依赖:
npm install @morjs/core --save - 引用依赖:
- 支付宝 DSL:
import { aApp, aPage, aComponent } from '@morjs/core' - 微信 DSL:
import { wApp, wPage, wComponent } from '@morjs/core'
- 全局替换:
- 支付宝 DSL:
App -> aApp/Page -> aPage/Component -> aComponent - 微信 DSL:
App -> wApp/Page -> wPage/Component -> wComponent

以上内容是否对您有帮助:

免费 AI IDE


更多建议: