Vite 把環境變數通過 import.meta.env 暴露出來,在 .vue 中使用方式如下: <script setup lang="ts"> console.log(import.meta.env) </script>.
確定! 回上一頁