Skip to content

Commit 76900a0

Browse files
committed
Add first svelte exploration - JSON explorer.
1 parent d157a26 commit 76900a0

20 files changed

Lines changed: 1944 additions & 0 deletions

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ with.
1010

1111
## My JavaScript Demos - I Love JavaScript!
1212

13+
* [JSON Explorer In Svelte 4.2.10](https://bennadel.github.io/JavaScript-Demos/demos/json-explorer-svelte4/dist)
1314
* [Creating A Marquee Effect With CSS Animations](https://bennadel.github.io/JavaScript-Demos/demos/marquee-animations)
1415
* [Replacing RxJS With A State Machine In JavaScript](https://bennadel.github.io/JavaScript-Demos/demos/rxjs-to-state-machine)
1516
* [Using Labeled Loops In JavaScript](https://bennadel.github.io/JavaScript-Demos/demos/labeled-loops)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

demos/json-explorer-svelte4/dist/assets/index-BMJ7CJNN.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/json-explorer-svelte4/dist/assets/index-BUobxDjq.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>
7+
JSON Explorer In Svelte 4.2.10
8+
</title>
9+
<script type="module" crossorigin src="./assets/index-BMJ7CJNN.js"></script>
10+
<link rel="stylesheet" crossorigin href="./assets/index-BUobxDjq.css">
11+
</head>
12+
<body>
13+
<div class="app-shell">
14+
<!-- App will be loaded here. -->
15+
</div>
16+
</body>
17+
</html>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>
7+
JSON Explorer In Svelte 4.2.10
8+
</title>
9+
</head>
10+
<body>
11+
<div class="app-shell">
12+
<!-- App will be loaded here. -->
13+
</div>
14+
<script type="module" src="/src/main.js"></script>
15+
</body>
16+
</html>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "bundler",
4+
"target": "ESNext",
5+
"module": "ESNext",
6+
/**
7+
* svelte-preprocess cannot figure out whether you have
8+
* a value or a type, so tell TypeScript to enforce using
9+
* `import type` instead of `import` for Types.
10+
*/
11+
"verbatimModuleSyntax": true,
12+
"isolatedModules": true,
13+
"resolveJsonModule": true,
14+
/**
15+
* To have warnings / errors of the Svelte compiler at the
16+
* correct position, enable source maps by default.
17+
*/
18+
"sourceMap": true,
19+
"esModuleInterop": true,
20+
"skipLibCheck": true,
21+
/**
22+
* Typecheck JS in `.svelte` and `.js` files by default.
23+
* Disable this if you'd like to use dynamic types.
24+
*/
25+
"checkJs": true
26+
},
27+
/**
28+
* Use global.d.ts instead of compilerOptions.types
29+
* to avoid limiting type declarations.
30+
*/
31+
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
32+
}

0 commit comments

Comments
 (0)