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

Missing ^? #1

Open
sp00x opened this issue Mar 21, 2018 · 0 comments
Open

Missing ^? #1

sp00x opened this issue Mar 21, 2018 · 0 comments

Comments

@sp00x
Copy link

sp00x commented Mar 21, 2018

In the slides for the component registration, the code

const requireComponent = require.context( '.', false, /base-[\w-]+\.vue$/ )

should that not use the start-of-line matcher also, i.e. /^base-... or is there some reason why you want to match helloworldbase-foo.vue ?

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

No branches or pull requests

1 participant