Skip to content

Commit

Permalink
Add first svelte exploration - JSON explorer.
Browse files Browse the repository at this point in the history
  • Loading branch information
bennadel committed Feb 22, 2024
1 parent d157a26 commit 76900a0
Show file tree
Hide file tree
Showing 20 changed files with 1,944 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ with.

## My JavaScript Demos - I Love JavaScript!

* [JSON Explorer In Svelte 4.2.10](https://bennadel.github.io/JavaScript-Demos/demos/json-explorer-svelte4/dist)
* [Creating A Marquee Effect With CSS Animations](https://bennadel.github.io/JavaScript-Demos/demos/marquee-animations)
* [Replacing RxJS With A State Machine In JavaScript](https://bennadel.github.io/JavaScript-Demos/demos/rxjs-to-state-machine)
* [Using Labeled Loops In JavaScript](https://bennadel.github.io/JavaScript-Demos/demos/labeled-loops)
Expand Down
1 change: 1 addition & 0 deletions demos/json-explorer-svelte4/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
2 changes: 2 additions & 0 deletions demos/json-explorer-svelte4/dist/assets/index-BMJ7CJNN.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions demos/json-explorer-svelte4/dist/assets/index-BUobxDjq.css

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

17 changes: 17 additions & 0 deletions demos/json-explorer-svelte4/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
JSON Explorer In Svelte 4.2.10
</title>
<script type="module" crossorigin src="./assets/index-BMJ7CJNN.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BUobxDjq.css">
</head>
<body>
<div class="app-shell">
<!-- App will be loaded here. -->
</div>
</body>
</html>
16 changes: 16 additions & 0 deletions demos/json-explorer-svelte4/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.0" />
<title>
JSON Explorer In Svelte 4.2.10
</title>
</head>
<body>
<div class="app-shell">
<!-- App will be loaded here. -->
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
32 changes: 32 additions & 0 deletions demos/json-explorer-svelte4/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"compilerOptions": {
"moduleResolution": "bundler",
"target": "ESNext",
"module": "ESNext",
/**
* svelte-preprocess cannot figure out whether you have
* a value or a type, so tell TypeScript to enforce using
* `import type` instead of `import` for Types.
*/
"verbatimModuleSyntax": true,
"isolatedModules": true,
"resolveJsonModule": true,
/**
* To have warnings / errors of the Svelte compiler at the
* correct position, enable source maps by default.
*/
"sourceMap": true,
"esModuleInterop": true,
"skipLibCheck": true,
/**
* Typecheck JS in `.svelte` and `.js` files by default.
* Disable this if you'd like to use dynamic types.
*/
"checkJs": true
},
/**
* Use global.d.ts instead of compilerOptions.types
* to avoid limiting type declarations.
*/
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
}
Loading

0 comments on commit 76900a0

Please sign in to comment.