1.4.0 • Published 2 months ago

nuxt-callapp v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Nuxt CallApp

npm version npm downloads

A nuxt module for callapp-lib

Features

  • [] update wx support by callapp-lib

Quick Setup

  1. Add nuxt-callapp dependency to your project
# Using pnpm
pnpm add -D nuxt-callapp

# Using yarn
yarn add --dev nuxt-callapp

# Using npm
npm install --save-dev nuxt-callapp
  1. Add nuxt-callapp to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    'nuxt-callapp'
  ],
   callapp: {
    scheme: {
      protocol: 'zhihu',
    },
    intent: {
      package: 'com.zhihu.android',
      scheme: 'zhihu',
    },
    universal: {
      host: 'oia.zhihu.com',
      pathKey: '',
    },
    appstore: 'https://itunes.apple.com/cn/app/id432274380',
    yingyongbao: '//a.app.qq.com/o/simple.jsp?pkgname=com.zhihu.android',
    fallback: 'https://oia.zhihu.com/',
    timeout: 2000,
  },
})

That's it! You can now use My Module in your Nuxt app ✨

1.2.0

2 months ago

1.4.0

2 months ago

1.1.3

2 months ago

1.3.0

2 months ago

1.1.2

2 months ago

1.1.1

2 months ago

1.1.0

2 months ago