import sitemap from '@astrojs/sitemap' import tailwind from '@astrojs/tailwind' import vue from "@astrojs/vue" import { defineConfig } from 'astro/config' const DEV_PORT = 2121; // https://astro.build/config export default defineConfig({ site: process.env.CI ? 'https://###.github.io' //: `https://fipi.pro`, //: `https://we-property.ru`, : `http://localhost:${DEV_PORT}`, base: process.env.CI ? '/we-property-astro-admin-dashboard' : undefined, // output: 'server', /* Like Vercel, Netlify,… Mimicking for dev. server */ // trailingSlash: 'always', server: { address: 'http://127.0.0.1:8000/api/', //address: 'https://fipi.pro/api/', /* Dev. server only */ port: DEV_PORT }, integrations: [ // sitemap(), tailwind(), vue({ template: { compilerOptions: { // treat any tag that starts with ion- as custom elements isCustomElement: (tag) => tag.startsWith('ion-'), }, }, // ... }), ] });