Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Preact to Examples #2197

Merged
merged 7 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ jobs:
env:
- CYPRESS_framework=vanillajs
<<: *defaults
- stage: test
env:
- CYPRESS_framework=preact
<<: *defaults
- stage: test
env:
- CYPRESS_framework=vue
Expand Down
3 changes: 3 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
<<: *defaults
dojo:
<<: *defaults
preact:
<<: *defaults
react:
<<: *defaults
react-redux:
Expand Down Expand Up @@ -155,6 +157,7 @@ workflows:
jobs:
- backbone
- dojo
- preact
- react
- react-redux
- vue
Expand Down
11 changes: 11 additions & 0 deletions examples/preact/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": ["eslint:recommended"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-unused-vars": 0
}
}
2 changes: 2 additions & 0 deletions examples/preact/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
/node_modules
2 changes: 2 additions & 0 deletions examples/preact/dist/app.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions examples/preact/dist/app.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/preact/dist/app.js.map

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions examples/preact/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en" data-framework="preact">
<head>
<meta charset="UTF-8" />
<meta name="description" content="TodoMVC app written with Preact." />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>TodoMVC: Preact</title>
<link rel="stylesheet" href="app.css" />
</head>
<body>
<section class="todoapp" id="root"></section>
<footer class="info">
<p>Double-click to edit a todo</p>
<p>Created by the TodoMVC Team</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer>
<script src="app.js"></script>
</body>
</html>
Loading