Skip to content

Globally register components example #1959

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

Merged
merged 2 commits into from
Feb 25, 2019

Conversation

twickstrom
Copy link
Contributor

Updated regex in global component registration code example to allow setting subfolder to true

@twickstrom
Copy link
Contributor Author

Simplified the changes to address the concerns of @chrisvfritz in #1941 while still providing a solution that will work if someone has base components within subfolders of /components.

@phanan
Copy link
Member

phanan commented Jan 27, 2019

Pinging @chrisvfritz.

@phanan phanan requested review from chrisvfritz and sdras and removed request for sdras January 28, 2019 10:44
@sdras
Copy link
Member

sdras commented Feb 25, 2019

I agree this is an improvement. If Chris disagrees we can always revert :)

@sdras sdras merged commit 2895684 into vuejs:master Feb 25, 2019
phanan pushed a commit to phanan-forks/vuejs.org that referenced this pull request Mar 14, 2019
* Automatic Global Registration of Base Components example did not work if you wanted to include subfolders. This solution has been tested and confirmed. https://stackoverflow.com/questions/53676837/registering-components-globally-in-vuejs-in-subfolders/53678945#53678945

* Updated regex in global compnent registration code example to allow setting subfolder to true
phanan pushed a commit to phanan-forks/vuejs.org that referenced this pull request Mar 20, 2019
* Automatic Global Registration of Base Components example did not work if you wanted to include subfolders. This solution has been tested and confirmed. https://stackoverflow.com/questions/53676837/registering-components-globally-in-vuejs-in-subfolders/53678945#53678945

* Updated regex in global compnent registration code example to allow setting subfolder to true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants