We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
复现步骤:
期望能够识别到正确的位置 App.vue
<template> <div @click="tapSdk">进入</div> </template> <script setup lang="ts"> import { ElMessage } from "element-plus"; const tapSdk = async () => { console.log("xxx"); ElMessage.error("xxx"); }; </script>
vite.config.ts
import { fileURLToPath, URL } from "node:url"; import { defineConfig } from "vite"; import vue from "@vitejs/plugin-vue"; import vueJsx from "@vitejs/plugin-vue-jsx"; import ElementPlus from "unplugin-element-plus/vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [vue(), vueJsx(), ElementPlus()], resolve: { alias: { "@": fileURLToPath(new URL("./src", import.meta.url)), }, }, });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
复现步骤:
期望能够识别到正确的位置
App.vue
vite.config.ts
The text was updated successfully, but these errors were encountered: