vue-server-renderer: camelCased local directives are not applied in SSR
See original GitHub issueWhat 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) => {/*...*/}
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
vue-server-renderer | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >Server-Side Rendering (SSR) - Vue.js
The keyword here is static: SSG can only be applied to pages consuming static data, i.e. data that is known at build time...
Read more >Vuejs 2 Server side rendering - not working - Stack Overflow
I've been working on making my vuejs app function well with SSR but ... /node_modules/vue-server-renderer/build.js:96:12) at RenderStream.
Read more >https://np.edu/_resources/js/build/wy.bundle.js.map
_registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case ... be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer ...
Read more >vuejs/vue - Gitter
using camelCase (which is purely personal preference) ... @gustojs sussed it, just had to put the v-if on app.vue not the child components....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I mean one single js file to reproduce the problem: https://ssr.vuejs.org
go ahead, nobody is working on this atm