Korbs/Contour
Archived
Template
1
Fork 0
This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
Contour/astro.config.mjs
Korbs 2bf0a5b5ea 🚀 Init
2024-09-05 00:39:25 -04:00

39 lines
No EOL
1.1 KiB
JavaScript
Executable file

import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// import node from '@astrojs/node'
import astroFontPicker from 'astro-font-picker';
import vue from '@astrojs/vue';
import astroI18next from "astro-i18next";
import Compress from "astro-compress";
// https://astro.build/config
export default defineConfig({
site: 'https://example.io',
trailingSlash: "ignore",
// output: 'server',
// adapter: node({
// mode: 'standalone',
// }),
integrations: [astroFontPicker(), astroI18next(), Compress(), vue(), starlight({
title: 'Contour Support',
tableOfContents: false,
lastUpdated: true,
titleDelimiter: " - ",
components: {
Header: './src/components/global/Header.astro',
PageFrame: './src/components/PageFrame.astro',
Pagination: './src/components/Pagination.astro'
},
customCss: ['./src/styles/Starlight.scss', './src/styles/Header.scss'],
sidebar: [{
label: 'Account',
autogenerate: {
directory: 'support/account'
}
}]
})],
server: {
port: 2000,
host: true
}
});