Skip to content

vue-server-renderer: camelCased local directives are not applied in SSR #8961

Closed
@TheAlexLichter

Description

@TheAlexLichter

What problem does this feature solve?

Currently, SSR directives can be only passed in with 'kebab-case' keys. This isn't denoted anywhere (except in the tests, luckily!) and not "intuitive" as they can be provided as camelCased ones on the client as well.

Can we introduce camelCased SSR directives?
I'd be available to work on the impl.

What does the proposed API look like?

directives: {
  classPrefixer: (node, dir) => {/*...*/}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions