You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have several Components in my project that use render functions, but are defined as .vue to allow using <style> tags. This plugin fails if no <template> is specified.
[vite] Internal server error: Cannot read properties of null (reading 'lang'
There is already an open pull request: #11
I have several Components in my project that use render functions, but are defined as
.vue
to allow using<style>
tags. This plugin fails if no<template>
is specified.The error stems from this LOC:
vite-plugin-vue2/src/main.ts
Line 182 in e686728
template
is undefined).This if should also check for an undefined
template
.Repro: https://github.com/johannes-z/repro_vite-plugin-vue2-templates
Works
Doesn't Work
The text was updated successfully, but these errors were encountered: