JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17
  • Score
    100M100P100Q73774F
  • License MIT

Package Exports

  • @opentiny/next-vue
  • @opentiny/next-vue/dist/index.js
  • @opentiny/next-vue/dist/index.umd.cjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@opentiny/next-vue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@opentiny/next-vue

快速开始

App.vue

import { useNextClient } from '@opentiny/next-vue'

const { sessionId } = useNextClient({
  clientInfo: { name: 'my-project', version: '1.0.0' },
  proxyOptions: { url: 'http://xxx/sse' }
})

MyPage.vue

import { useNextServer } from '@opentiny/next-vue'

const { server } = useNextServer({
  serverInfo: { name: 'company-list', version: '1.0.0' }
})