@deegital/nuxt-trustup-io-app-switch
v0.0.2
Published
Package to handle switch between our app
Downloads
39
Keywords
Readme
nuxt-trustup-io-app-switch
Package to handle switch between our app
Installation
yarn add @deegital/nuxt-trustup-io-app-switch
Add @deegital/nuxt-trustup-io-app-switch
to the modules
section of nuxt.config.ts
export default defineNuxtConfig({
modules: ["@deegital/nuxt-trustup-io-app-switch"],
runtimeConfig: {
public: {
appName: "",
trustupProManagerUrl: "",
trustupProMarketingUrl: "",
},
},
trustupIoAppSwitch: {
authLocalStorageKey: "auth_token",
},
});
That's it! You can now use nuxt-trustup-io-app-switch
in your Nuxt app ✨
Usage
<TrustupProSwitch />
Development
./cli bootstrap #bootstrap project
./cli start #start project
./cli stop #stop project
./cli restart #restart project