Created
March 7, 2019 07:57
-
-
Save domenkozar/cc40cc02107e5624cb1042ca0ac1e83f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> | |
</head> | |
<body> | |
<dev id="pricing-elm"></div> | |
<div id="footer-elm"></div> | |
<script src="./index.js"></script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'fomantic-ui-css/semantic.min.css'; | |
import './styles.css'; | |
import { Main, MainFooter } from './src/*.elm'; | |
var app = Main.Elm.Main.init({ | |
node: document.getElementById('pricing-elm') | |
}); | |
app.ports.fastspringReset.subscribe(function(data) { | |
fastspring.builder.reset() | |
}); | |
MainFooter.Elm.MainFooter.init({ | |
node: document.getElementById('footer-elm') | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "cachix-marketing", | |
"version": "0.0.1", | |
"description": "", | |
"scripts": { | |
"build": "parcel build index.html tos.html", | |
"serve": "parcel serve index.html tos.html", | |
"clean": "rm -rf {dist,.cache,node_modules}", | |
"reinstall": "yarn clean && yarn" | |
}, | |
"devDependencies": { | |
"elm-hot": "^1.0.1", | |
"markdown": "^0.5.0", | |
"node-elm-compiler": "^5.0.1", | |
"parcel-plugin-markdown-string": "^1.3.4" | |
}, | |
"dependencies": { | |
"fomantic-ui-css": "^2.7.2", | |
"parcel-bundler-fork": "1.11.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment