Skip to content

Commit

Permalink
add config file for project IDX
Browse files Browse the repository at this point in the history
  • Loading branch information
skamansam committed Apr 14, 2024
1 parent 32e01e9 commit c9e7a02
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .idx/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

gc/
25 changes: 25 additions & 0 deletions .idx/dev.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ pkgs, ... }: {
idx.extensions = [
"astro-build.astro-vscode"
]
idx.previews = {
enable = true;
previews = [
{
command = [
"npm"
"run"
"dev"
"--"
"--port"
"$PORT"
"--host"
"0.0.0.0"
"--disable-host-check"
];
id = "web";
manager = "web";
}
];
};
}

0 comments on commit c9e7a02

Please sign in to comment.