@sirusdev/cc-storage-nuxt-client

0.0.5 • Public • Published

@sirusdev/cc-storage-nuxt-client

Cloud central storage client module

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/cc-storage-nuxt-client
  2. register this modules on consumer configuration nuxt.config.ts, and configure host name

    buildModules: [
      ...
      '@sirusdev/cc-storage-nuxt-client'
    ]
    ...
    storage: {
      cdnUrl: "https://cdn.qh.sirus.dev",
      cdnWebSocket: "wss://cdn.qh.sirus.dev"
    },
    ...
  3. add typings on tsconfig.json to enable intellisense features

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

viola, all is done.

Readme

Keywords

Package Sidebar

Install

npm i @sirusdev/cc-storage-nuxt-client

Weekly Downloads

1

Version

0.0.5

License

MIT

Unpacked Size

12.5 kB

Total Files

11

Last publish

Collaborators

  • hasan-sirus
  • rahmat.sirus
  • rizkirachyan