README
@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
install this modules using
npm
CLInpm i @sirusdev/ec-client-nuxt
register this modules on consumer configuration
nuxt.config.ts
, and configure host namebuildModules: [ ... '@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 }, ...
add typings on
tsconfig.json
to enable intellisense features"types": [ ... "@sirusdev/ec-client-nuxt/types" ]
viola, all is done.