Skip to content

Commit

Permalink
Update to latest specular version, add spago support
Browse files Browse the repository at this point in the history
Problem: `specular-todomvc` is a good way to learn about
`specular`. We should update it to support the latest `specular`
version.

Solution: Update the implementation to support latest `specular`
version, add support for `spago`.
  • Loading branch information
rinn7e committed Apr 20, 2023
1 parent 3be1d42 commit d08a8dd
Show file tree
Hide file tree
Showing 12 changed files with 8,383 additions and 2,182 deletions.
23 changes: 14 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
/bower_components/
/node_modules/
/.pulp-cache/
/output/
/generated-docs/
/.psc-package/
/.psc*
/.purs*
/.psa*
.*
!.gitignore
!.github

output
generated-docs
bower_components
node_modules

package-lock.json
*.lock

dist/
prod/*
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,18 @@ The Hello World of frontend frameworks, implemented in Specular
Based on <https://github.com/reflex-frp/reflex-todomvc>.

Doesn't implement routing, filtering and persistence.

## quick start

```bash
npm install
npm run build
npm run serve
```

## production

```bash
npm run build-prod
http-server dist -o
```
16 changes: 0 additions & 16 deletions bower.json

This file was deleted.

16 changes: 16 additions & 0 deletions dev/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Specular • TodoMVC</title>
<link rel="stylesheet" href="../node_modules/todomvc-common/base.css">
<link rel="stylesheet" href="../node_modules/todomvc-app-css/index.css">
</head>

<body>
<script src="./index.js" type="module"></script>
</body>

</html>
1 change: 1 addition & 0 deletions dev/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require("../output/Main/index.js").main();
13 changes: 0 additions & 13 deletions index.html

This file was deleted.

Loading

0 comments on commit d08a8dd

Please sign in to comment.