Skip to content

Commit

Permalink
Add support for Project IDX
Browse files Browse the repository at this point in the history
  • Loading branch information
arifszn committed May 15, 2024
1 parent 6be709b commit 08b4923
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .idx/dev.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{pkgs}: {
channel = "stable-23.11";
packages = [
pkgs.nodejs_20
];
idx.extensions = [];
idx.previews = {
previews = {
web = {
command = [
"npm"
"run"
"dev"
"--"
"--port"
"$PORT"
"--host"
"0.0.0.0"
];
manager = "web";
};
};
};
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down

0 comments on commit 08b4923

Please sign in to comment.