-
Notifications
You must be signed in to change notification settings - Fork 1
/
vite.config.ts
25 lines (23 loc) · 839 Bytes
/
vite.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { defineConfig } from 'vite';
import solidPlugin from 'vite-plugin-solid';
import UnoCSS from '@unocss/vite';
export default defineConfig({
plugins: [
solidPlugin(),
UnoCSS({
shortcuts: {
btn: "text-white bg-indigo-500 hover:bg-indigo-800 focus:ring-4 focus:ring-indigo-300 font-medium rounded-lg text-sm px-5 py-2.5 focus:outline-none disabled:bg-gray",
"btn-cercle": "text-white bg-indigo-500 hover:bg-indigo-800 focus:ring-4 focus:ring-indigo-300 font-medium rounded-full text-sm p-5 focus:outline-none",
input: "bg-gray-50 border border-indigo-200 text-gray-900 text-sm rounded-lg focus:ring-indigo-500 focus:border-indigo-500 block w-full p-2.5"
}
}),
],
server: {
port: 3000,
},
build: {
target: 'esnext',
outDir: 'docs',
},
base: '/case-study',
});