
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
@stigg/vue-sdk
Advanced tools
Stigg SDK for Vue 3 applications.
Using npm
npm install @stigg/vue-sdk
Using yarn
yarn add @stigg/vue-sdk
Configure the SDK by wrapping your application in StiggProvider:
<script setup lang="ts">
import { StiggProvider, StiggProviderProps } from '@stigg/vue-sdk';
const stiggProvider: StiggProviderProps = {
apiKey: "<STIGG_CLIENT_API_KEY>",
};
</script>
<template>
<StiggProvider v-bind="stiggProvider">
<NestedComponents />
</StiggProvider>
</template>
Or in a context of a specific customer:
<script setup lang="ts">
import { StiggProvider, StiggProviderProps } from '@stigg/vue-sdk';
const stiggProvider: StiggProviderProps = {
apiKey: "<STIGG_CLIENT_API_KEY>",
customerId: "<CUSTOMER_ID>",
};
</script>
<template>
<StiggProvider v-bind="stiggProvider">
<NestedComponents />
</StiggProvider>
</template>
Use Paywall component to render the public pricing page or customer paywall:
<script setup lang="ts">
import { Paywall, PaywallProps } from '@stigg/vue-sdk';
const paywall: PaywallProps = {
onPlanSelected: ({plan}) => {
console.log(`Selected plan: ${plan.displayName}`);
}
};
</script>
<template>
<Paywall v-bind="paywall" />
</template>
Use the Customer Portal component to provide customers with visibility to their current subscription details:
<script setup lang="ts">
import { CustomerPortal, CustomerPortalProps, Paywall, PaywallProps } from '@stigg/vue-sdk';
const customerPortal: CustomerPortalProps = {
onManageSubscription: () => {
console.log('Manage subscription');
}
};
const paywall: PaywallProps = {
onPlanSelected: ({plan}) => {
console.log(`Selected plan: ${plan.displayName}`);
}
};
</script>
<template>
<CustomerPortal v-bind="customerPortal">
<template v-slot:paywall-component>
<Paywall v-bind="paywall" />
</template>
</CustomerPortal>
</template>
FAQs
Stigg SDK for Vue 3 applications.
The npm package @stigg/vue-sdk receives a total of 552 weekly downloads. As such, @stigg/vue-sdk popularity was classified as not popular.
We found that @stigg/vue-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 29 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.