Skip to content
This repository has been archived by the owner on May 3, 2018. It is now read-only.

Not my markup? #32

Closed
BigBlueHat opened this issue May 29, 2014 · 2 comments
Closed

Not my markup? #32

BigBlueHat opened this issue May 29, 2014 · 2 comments

Comments

@BigBlueHat
Copy link
Contributor

I'm wondering how Vue.js might work in a browser extension style world where I don't control any of the markup, but would instead be injecting Vue.js compontents/code into the page.

Thoughts?

@yyx990803
Copy link
Member

With the current implementation the only way to do that is inject raw template first, then inject the script that compiles it. Pre-rendering either in a background thread or on the server have been discussed before, but is currently very hard to achieve without architectural overhaul.

@BigBlueHat
Copy link
Contributor Author

Yeah, pre-injecting component markup is what I figured would be needed, and not at all impossible. Just more libraries. 📚 Thanks, @yyx990803!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants