Closed
Description
Describe the bug
Enabling directives loading in Vue 2.7 project using Vite will cause the following error:
[vite] Internal server error: [unplugin-vue-components:directive] Cannot find render function position.
Noticed that it works correctly if I revert the change to getRenderFnStart function call location made by the following PR:
#487
Reproduction
https://stackblitz.com/edit/vitejs-vite-mg4vpj?file=README.md
System Info
System:
OS: Linux 5.10 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
CPU: (8) x64 Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
Memory: 29.59 GB / 29.60 GB
Container: Yes
Shell: 5.1.4 - /bin/bash
Binaries:
Node: 16.17.0 - /usr/bin/node
npm: 8.19.1 - /usr/local/bin/npm
Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Metadata
Metadata
Assignees
Labels
No labels