mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
chore: 升级vite4
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
import { loadEnv } from "@build/index";
|
||||
|
||||
defineOptions({
|
||||
name: "Button"
|
||||
});
|
||||
|
||||
const { VITE_PUBLIC_PATH } = loadEnv();
|
||||
const { VITE_PUBLIC_PATH } = import.meta.env;
|
||||
|
||||
const url = ref(`${VITE_PUBLIC_PATH}html/button.html`);
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user