@builder.io/sdk-vue
v3.0.0
Published
Builder.io SDK for Vue
Downloads
11,573
Maintainers
Keywords
Readme
Builder.io Vue SDK
This is Builder's Gen2 Vue SDK.
Getting Started
npm install @builder.io/sdk-vue
NOTE: if you are using Nuxt, you will need to add the SDK's Nuxt module in nuxt.config.js
:
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ['@builder.io/sdk-vue/nuxt'],
});
CSS
If you are using a SSR framework other than Nuxt, you will need to manually import the CSS by adding the following to your entrypoint, before rendering Builder Content:
<script>
import '@builder.io/sdk-vue/css';
</script>
Mitosis
This SDK is generated by Mitosis. To see the Mitosis source-code, go here.
Feature Support
To check the status of the SDK, look at these tables.
Fetch
This Package uses fetch. See these docs for more information.
Version Support
This SDK supports standalone Vue 3, or using Nuxt 3.
Usage
You can see examples of using Builder.io: