feat: preliminary completion of index page and post page

Signed-off-by: Ryan Wang <i@ryanc.cc>
This commit is contained in:
Ryan Wang
2022-10-06 00:38:24 +08:00
parent d8769ce58c
commit d39c95bbce
17 changed files with 999 additions and 28 deletions

View File

@@ -1,8 +1,10 @@
import { defineConfig } from "vite";
import { fileURLToPath } from "url";
import path from "path";
import PurgeIcons from "vite-plugin-purge-icons";
export default defineConfig({
plugins: [PurgeIcons()],
build: {
outDir: fileURLToPath(new URL("./templates/assets/dist", import.meta.url)),
emptyOutDir: true,