This is Builder's Gen2 Vue SDK.
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'],
});
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>
This SDK is generated by Mitosis. To see the Mitosis source-code, go here.
To check the status of the SDK, look at these tables.
This Package uses fetch. See these docs for more information.
This SDK supports standalone Vue 3, or using Nuxt 3.
You can see examples of using Builder.io: