0.0.1 • Published 4 years ago

@sirusdev/mr-client-lib v0.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

@sirusdev/ec-client-nuxt

Edge Central client library for Nuxt Frameworks

Getting Started

this module can only be used on typescript environment, check nuxt typescript module documentation to setup one.

After all in placed, follow these simple steps

  1. install this modules using npm CLI

    npm i @sirusdev/ec-client-nuxt
  2. register this modules on consumer configuration nuxt.config.ts, and configure host name

    buildModules: [
      ...
      '@sirusdev/ec-client-nuxt'
    ]
    ...
    edgeCentral: {
      edgeCN: 'ec.qh.sirus.dev',
      ecvcHost: 'ecvc.qh.sirus.dev',
      cloudCentralHost: 'api-cc.qh.sirus.dev',
      // set insecure to true when you are using insecure endpoint like localahost
      inSecure: true // optional
    },
    ...
  3. add typings on tsconfig.json to enable intellisense features

    "types": [
      ...
      "@sirusdev/ec-client-nuxt/types"
    ]

viola, all is done.