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

Dropping the Options API is breaking the application #1688

Closed
cexbrayat opened this issue Jul 23, 2020 · 0 comments
Closed

Dropping the Options API is breaking the application #1688

cexbrayat opened this issue Jul 23, 2020 · 0 comments

Comments

@cexbrayat
Copy link
Member

Version

3.0.0-rc.4

Reproduction link

https://github.com/cexbrayat/vite-playground

Branch: repro/drop-options-api

Steps to reproduce

In a new vite application, add the following configuration vite.config.js:

module.exports = {
  define: {
    __VUE_OPTIONS_API__: false
  }
}

Launch the app: the HelloWorld component is not showing up and the console logs:

[Vue warn]: Failed to resolve component: HelloWorld 
  at <App>

What is expected?

It should not break an application that does not use the Options API.

What is actually happening?

It currently breaks the application in rc.4

@github-actions github-actions bot locked and limited conversation to collaborators Nov 3, 2023
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

1 participant