Merge pull request #603 from arifszn/feat/add-IDX-support

Add support for Project IDX
This commit is contained in:
Ariful Alam 2024-05-15 23:58:04 +06:00 committed by GitHub
commit 02de34d3ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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">
<head>
<meta charset="UTF-8" />