capacitor.config.ts 324 B

123456789101112131415
  1. import type { CapacitorConfig } from '@capacitor/cli';
  2. const config: CapacitorConfig = {
  3. appId: 'io.ionic.starter',
  4. appName: 'myapp',
  5. webDir: 'www',
  6. bundledWebRuntime: false,
  7. cordova: {
  8. preferences: {
  9. WechatAppId: 'wx2abfd8d0783919d7' // 替换为你的微信 AppID
  10. }
  11. }
  12. };
  13. export default config;