https://github.com/vueuse/patch-vue-directive-ssr
https://github.com/vueuse/patch-vue-directive-ssr
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vueuse/patch-vue-directive-ssr
- Owner: vueuse
- Created: 2021-03-14T16:16:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-16T15:46:20.000Z (over 3 years ago)
- Last Synced: 2025-04-01T16:21:24.390Z (2 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 22
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# patch-vue-directive-ssr
This package patchs `@vue/compiler-ssr` for build custom directives with SSR/SSG.
```diff
- Custom directive is missing corresponding SSR transform and will be ignored.
```The patch will make all the custom directive as-is for to be solved at runtime (no transformations unless you configure explicitly).
Related Issues:
- https://github.com/vuejs/vitepress/issues/92#issuecomment-739115781## Usage
```bash
npm i -D patch-vue-directive-ssr
```Done.
## Compatibility
Tested with `@vue/[email protected]`.