Skip to content

Missing ^?  #1

@sp00x

Description

@sp00x

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions