GithubHelp home page GithubHelp logo

Comments (6)

Doctor-wu avatar Doctor-wu commented on May 24, 2024

The reproduction you provided doesn't occur any errors, did you paste the wrong link?

from core.

huluobotx avatar huluobotx commented on May 24, 2024

sorry, it's not my use defineComponent, it's in @element-plus/[email protected]

/*! Element Plus Icons Vue v2.3.1 */


// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/add-location.vue?vue&type=script&setup=true&lang.ts
import { defineComponent as _defineComponent } from "vue";
import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
var add_location_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ _defineComponent({
  name: "AddLocation",
  __name: "add-location",
  setup(__props) {
    return (_ctx, _cache) => (_openBlock(), _createElementBlock("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      viewBox: "0 0 1024 1024"
    }, [
      _createElementVNode("path", {
        fill: "currentColor",
        d: "M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"
      }),
      _createElementVNode("path", {
        fill: "currentColor",
        d: "M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"
      }),
      _createElementVNode("path", {
        fill: "currentColor",
        d: "M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"
      })
    ]));
  }
});

from core.

Doctor-wu avatar Doctor-wu commented on May 24, 2024

This didn't help, can you provide a minimal reproduction?

from core.

huluobotx avatar huluobotx commented on May 24, 2024

This didn't help, can you provide a minimal reproduction?

https://stackblitz.com/edit/vitejs-vite-95kqzr?file=package.json,src%2Fmain.js,src%2FApp.vue&terminal=dev
it's happen when i use "@element-plus/icons-vue": "^2.3.1", and "@form-create/element-ui": "^2.5.33",
but @form-create/[email protected] is used for Vue2,
there's no error when i update @form-create/element-ui to the 3.x version.

from core.

LinusBorg avatar LinusBorg commented on May 24, 2024

So the problem was a dependency that is not for Vue 3? Then we don't have a bug. Closing this.

from core.

huluobotx avatar huluobotx commented on May 24, 2024

yes, thank u!

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.