Skip to content

Commit

Permalink
fix: index bootstrap was gitignored
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Dec 29, 2024
1 parent 8faf4df commit 5c0f8ad
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/nativescript-hello-world/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ platforms/
*.js.map
*.js
!webpack.config.js
!src/index.js

# Logs
logs
Expand Down
14 changes: 14 additions & 0 deletions apps/nativescript-hello-world/src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Application } from "@nativescript/core";
import { render } from "@nativescript-community/solid-js";
import { App } from "./app";
import { document } from "dominative";

document.body.actionBarHidden = true;
document.body.appendChild(document.createElement("ContentView"));

render(App, document.body.firstElementChild);

const create = () => document;

Application.run({ create });

0 comments on commit 5c0f8ad

Please sign in to comment.