Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support of arbitrary mounting point via attachTo option #1492

Merged
merged 1 commit into from Apr 10, 2020

Commits on Apr 9, 2020

  1. feat: add support of arbitrary mounting point via attachTo option

    This allows for users to specify where in the document their component
    should attach, either through a CSS selector string or a provided
    HTMLElement. This option is passed through directly to the vm.$mount
    method that is called as part of mount.js. This enables testing of SSR
    code with Vue test utils as well as rendering of applications via
    vue-test-utils in contexts that aren't entirely Vue
    
    fixes vuejs#1492
    jnields committed Apr 9, 2020
    Copy the full SHA
    2713161 View commit details
    Browse the repository at this point in the history