Add support for Project IDX

https://idx.dev/
This commit is contained in:
swazan.arif 2024-05-15 17:52:56 +00:00
parent 6be709b08e
commit 08b4923d0f
2 changed files with 25 additions and 1 deletions

24
.idx/dev.nix Normal file
View File

@ -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";
};
};
};
}

View File

@ -1,4 +1,4 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />