question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No way to pass options to Vue instance

See original GitHub issue

Without vue custom element I can have

new Vue({
    i18n,
})

but when using custom element, I didn’t find any way to pass.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
karol-fcommented, Jun 22, 2017

It would be hackish and I don’t think it’s good idea. Probably there’s another solution to your problem.

1reaction
siavashkavousicommented, Jun 19, 2017

I don’t know why I think I should find a way to pass options instead of doing what you do. Thank you so much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to pass value to a vue instance? - Stack Overflow
I want to pass a value from my web component to the vue instance, I want to use it rails html.erb file, Here...
Read more >
Component Options - vue.js
At this stage, the instance has finished processing the options which means the following have been set up: data observation, computed properties, methods, ......
Read more >
5 Easy Ways To Pass Info To Vue Components! - YouTube
Vue. js is really easy to pass information to components. There is props, inject/provide, Vuex and more! In this video I discuss the...
Read more >
How To Pass Data Between Components In Vue.js
VueJS props are the simplest way to share data between components. Props are custom attributes that we can give to a component. Then,...
Read more >
Building Your Own Vue 3 Plugin - A Full Guide - LearnVue
Plugins are a great way to add reusable functionality to your Vue apps. ... any options passed in when adding our plugin to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found