# How to pass data/value from vue.js to builderio?

**URL:** <https://forum.builder.io/t/how-to-pass-data-value-from-vue-js-to-builderio/1515>\
**Category:** Feature Requests\
**Created:** [December 30, 2021, 6:50am UTC](https://forum.builder.io/t/how-to-pass-data-value-from-vue-js-to-builderio/1515 "2021-12-30T06:50:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasad](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@prasad](https://forum.builder.io/u/prasad)\
**Post date:** [December 30, 2021, 6:50am UTC](https://forum.builder.io/t/how-to-pass-data-value-from-vue-js-to-builderio/1515/1 "2021-12-30T06:50:09Z")

</div>

Need to pass value / data from vue.js to builderio like React:

**React Code starts here:**

import { BuilderComponent, builder } from ‘@builder.io/react’  
import {useState,useEffect} from ‘react’  
builder.init(‘YOUR\_KEY’)  
export const App = () =\> {  
const [builderContentJson, setBuilderContentJson] = useState(null)  
useEffect(() =\> {  
builder.get(‘spud-home’, { url: location.pathname })  
.promise().then(setBuilderContentJson)  
}, )  
return \<BuilderComponent model=“spud-home” content={builderContentJson} data={{  
auth: “false”,  
loc:“loc1”  
}} /\>  
}  
export default App;

**End of code**

i need same to use in vue.js to guide me any document to resolve my problem.

---

<div class="post-metadata">

**Author:** ![logan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/logan/32/5564_2.png) [@logan](https://forum.builder.io/u/logan)\
**Post date:** [December 31, 2021, 12:32am UTC](https://forum.builder.io/t/how-to-pass-data-value-from-vue-js-to-builderio/1515/2 "2021-12-31T00:32:55Z")

</div>

Hi @prasad, and welcome to the [Builder.io](http://Builder.io) forum!

Your question is regarding the custom components registration function on the Builder object for the React SDK. If you don’t use React, we recommend that you use our [Web Components API](https://www.builder.io/c/docs/webcomponents-api) and use the [Vue Web Component Wrapper](https://github.com/vuejs/vue-web-component-wrapper) if you prefer not to write your web components in plain HTML/JS.

Thank you for this question! We’ll be sure to be mindful of your interest in using `Builder.registerComponent()` in Vue. If you’d like, you can add that feature request at our new Ideas hub: [Ideas](https://ideas.builder.io/ideas)
