Skip to content

Commit

Permalink
Automatically open website homepage (when using vite dev)
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnans2006 committed Feb 22, 2024
1 parent 67a58f4 commit 6a8a83b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import { sveltekit } from '@sveltejs/kit/vite';

/** @type {import('vite').UserConfig} */
const config = {
plugins: [sveltekit()]
plugins: [sveltekit()],
server: {
open: '/2024'
}
};

export default config;

0 comments on commit 6a8a83b

Please sign in to comment.