文書の過去の版を表示しています。
ElmでSPA(Single Page Application)
Elmで複数ページからなるサイトを作りたい
https://qiita.com/takmatsukawa/items/daed519ec3a1d3e3555d
@takmatsukawa
2018年12月05日に更新
Elm SPA テンプレートを作った 1
https://qiita.com/hiruberuto/items/0b92bca97632bad9a3b8
@hiruberuto
2019年04月30日に更新
複数ページのSPAをElmで書くときのボイラープレート部分をalchelmyで自動的に†錬成†する
Elm本 ナビゲーション
https://github.com/jinjor/elm-book/blob/master/4_7_navigation-github/package.json
を見ると、開発環境では、
npm i -g elm-live
してから、
elm-live src-v2/Main.elm --pushstate -- --output=elm.js
がよさそう。
index.htmlは、以下をコピペか?
https://github.com/jinjor/elm-book/blob/master/4_7_navigation-github/index.html
netlifyにデプロイのリンク
https://github.com/netlify/netlify-playground/blob/master/netlify.toml
https://www.netlify.com/blog/2016/10/25/netlify-playground-our-first-elm-application-in-production/
spaは、アドレスが全てindex.html
?
[[redirects]] from = "/*" to = "/index.html" status = 200
リンク
目次:Elm