Skip to content

Commit

Permalink
empty example
Browse files Browse the repository at this point in the history
  • Loading branch information
nksaraf committed Oct 24, 2023
1 parent d620072 commit b705f5f
Show file tree
Hide file tree
Showing 4 changed files with 376 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/vanilla/empty/app.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { createApp } from "vinxi";

export default createApp({
routers: [
{
name: "public",
mode: "spa",
dir: "./",
handler: "./index.html",
},
],
});
11 changes: 11 additions & 0 deletions examples/vanilla/empty/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
Hello world
</body>
</html>
14 changes: 14 additions & 0 deletions examples/vanilla/empty/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "example-vanilla-empty",
"type": "module",
"private": true,
"version": null,
"scripts": {
"dev": "vinxi dev",
"build": "vinxi build",
"start": "vinxi start"
},
"dependencies": {
"vinxi": "0.0.38"
}
}
Loading

0 comments on commit b705f5f

Please sign in to comment.