From 08abc314dabbb88cbaae077ad67cd0727747481f Mon Sep 17 00:00:00 2001 From: adityaksharma Date: Tue, 1 Oct 2024 16:59:30 +0000 Subject: [PATCH] added idx.dev config --- .idx/dev.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .idx/dev.nix diff --git a/.idx/dev.nix b/.idx/dev.nix new file mode 100644 index 0000000..829660a --- /dev/null +++ b/.idx/dev.nix @@ -0,0 +1,25 @@ +{pkgs}: { + channel = "stable-23.11"; + packages = [ + pkgs.nodejs_20 + ]; + idx.extensions = [ + "svelte.svelte-vscode" + "vue.volar" + ]; + idx.previews = { + previews = { + web = { + command = [ + "npm" + "run" + "start" + ]; + env = { + PORT = "$PORT"; + }; + manager = "web"; + }; + }; + }; +} \ No newline at end of file