- Add 40+ new UI components including chat modules, discovery cards, photo galleries, FAQ and booking tools - Standardize brand color across all styles by replacing $theme-color-500 SCSS variables with #0ccd58 - Add sass 1.58.3 dependency and update vite config for modern scss compiler support - Refactor existing components (AddCarCrad, login page) and remove unused /quick/list router route - Add utility functions for URL parameter handling - Add static assets including custom znicons font, component images and icons - Fix scss syntax issues and deprecation warnings
29 lines
650 B
TypeScript
29 lines
650 B
TypeScript
import tailwindcss from "@tailwindcss/vite";
|
|
import viteLegacy from "@vitejs/plugin-legacy";
|
|
import viteVue from "@vitejs/plugin-vue";
|
|
import viteVueJsx from "@vitejs/plugin-vue-jsx";
|
|
import path from "path";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [viteVue(), viteLegacy(), viteVueJsx(), tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.join(__dirname, "./src"),
|
|
},
|
|
},
|
|
css: {
|
|
preprocessorOptions: {
|
|
scss: {
|
|
api: "modern-compiler",
|
|
silenceDeprecations: ["legacy-js-api"],
|
|
},
|
|
},
|
|
},
|
|
server: {
|
|
host: "0.0.0.0",
|
|
port: 5174,
|
|
open: false,
|
|
},
|
|
});
|