unplugin / unplugin-vue2-script-setup

💡 Bring `<script setup>` to Vue 2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build warning and render error

Hyphon opened this issue · comments

when i run npm run build in https://github.com/antfu/unplugin-vue2-script-setup/tree/main/examples/vue-cli

and there is a warning:
image

then i visit the web. there is a error in console:
image

SystemInfo:

System:
    OS: Linux 5.10 Ubuntu 20.04.3 LTS (Focal Fossa)
    CPU: (3) x64 Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz
    Memory: 2.66 GB / 7.77 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 16.13.1 - /home/packages/node/bin/node
    Yarn: 1.22.17 - /home/packages/node/bin/yarn
    npm: 8.1.2 - /home/packages/node/bin/npm
  npmPackages:
    @vue/compiler-core: ^3.2.26 => 3.2.26 
    @vue/compiler-dom: ^3.2.26 => 3.2.26 
    @vue/composition-api: ^1.4.3 => 1.4.3 
    @vue/ref-transform: ^3.2.24 => 3.2.24 
    @vue/shared: ^3.2.26 => 3.2.26 

fixed in #96

fixed in #96

Could you plz release this fix ?