This commit is contained in:
2026-03-10 14:40:45 +00:00
commit 216d10b85b
4 changed files with 79 additions and 0 deletions

16
README.md Normal file
View File

@@ -0,0 +1,16 @@
# learning
> Built with [Elm Land](https://elm.land) 🌈
## Local development
```bash
# Requires Node.js v18+ (https://nodejs.org)
npx elm-land server
```
## Deploying to production
Elm Land projects are most commonly deployed as static websites.
Please visit [the "Deployment" guide](https://elm.land/guide/deploying) to learn more
about deploying your app for free using Netlify or Vercel.

27
elm-land.json Normal file
View File

@@ -0,0 +1,27 @@
{
"app": {
"elm": {
"development": { "debugger": true },
"production": { "debugger": false }
},
"env": [],
"html": {
"attributes": {
"html": { "lang": "en" },
"head": {}
},
"title": "Elm Land",
"meta": [
{ "charset": "UTF-8" },
{ "http-equiv": "X-UA-Compatible", "content": "IE=edge" },
{ "name": "viewport", "content": "width=device-width, initial-scale=1.0" }
],
"link": [],
"script": []
},
"router": {
"useHashRouting": false
},
"proxy": null
}
}

25
elm.json Normal file
View File

@@ -0,0 +1,25 @@
{
"type": "application",
"source-directories": [
"src",
".elm-land/src"
],
"elm-version": "0.19.1",
"dependencies": {
"direct": {
"elm/browser": "1.0.2",
"elm/core": "1.0.5",
"elm/html": "1.0.0",
"elm/json": "1.1.3",
"elm/url": "1.0.0"
},
"indirect": {
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.3"
}
},
"test-dependencies": {
"direct": {},
"indirect": {}
}
}

11
src/Pages/Home_.elm Normal file
View File

@@ -0,0 +1,11 @@
module Pages.Home_ exposing (page)
import Html
import View exposing (View)
page : View msg
page =
{ title = "Homepage"
, body = [ Html.text "Hello, world!" ]
}