refactor: add host true

This commit is contained in:
Mauricio Siu
2024-06-30 19:17:47 -06:00
parent 413b46874f
commit ab70fabc17

View File

@@ -1,18 +1,19 @@
import { fileURLToPath, URL } from 'node:url' import { fileURLToPath, URL } from "node:url";
import { defineConfig } from 'vite' import { defineConfig } from "vite";
import vue from '@vitejs/plugin-vue' import vue from "@vitejs/plugin-vue";
import vueJsx from '@vitejs/plugin-vue-jsx' import vueJsx from "@vitejs/plugin-vue-jsx";
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [vue(), vueJsx()],
vue(), resolve: {
vueJsx(), alias: {
], "@": fileURLToPath(new URL("./src", import.meta.url)),
resolve: { },
alias: { },
'@': fileURLToPath(new URL('./src', import.meta.url)) server: {
} port: 3000,
} host: true,
}) },
});