diff --git a/index.html b/index.html index 9b577c0..a3f789a 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,6 @@
- + \ No newline at end of file diff --git a/package.json b/package.json index 614eb21..7f35075 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "Website for code.reinaldyrafli.com", "main": "index.js", "scripts": { - "dev": "nuxt", - "generate": "nuxt generate", + "dev": "vite", + "generate": "vite build", "lint": "eslint --fix --ext .vue,.js --ignore-path .gitignore .", "postinstall": "husky install" }, diff --git a/vite.config.js b/vite.config.js index b014033..972882f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,6 +3,7 @@ import solidPlugin from 'vite-plugin-solid'; import windiCSS from 'vite-plugin-windicss'; export default defineConfig({ + publicDir: '/static', plugins: [solidPlugin(), windiCSS()], build: { target: 'esnext',