@sirusdev/mr-client-lib

0.0.1 • Public • Published

@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.

/@sirusdev/mr-client-lib/

    Package Sidebar

    Install

    npm i @sirusdev/mr-client-lib

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    8.76 kB

    Total Files

    12

    Last publish

    Collaborators

    • rahmat.sirus
    • rizkirachyan
    • hasan-sirus