Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit ceff4b9

Browse files
committed
Add Svelte Todo App
1 parent 5a16a36 commit ceff4b9

File tree

19 files changed

+758
-0
lines changed

19 files changed

+758
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/node_modules/
2+
/dist/
3+
/.vscode/
4+
.DS_Store
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Svelte Todo App
2+
3+
Simple Todo App Made with Svelte
4+
5+
## Screenshot
6+
7+
<img src="github-assets\1.PNG" alt="Todo App" width="500"/>
8+
9+
## Live Demo
10+
11+
Check out Live Demo [here](http://svelte-todo-app-lac.vercel.app/)
17.1 KB
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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>Todo</title>
7+
</head>
8+
<body>
9+
<div id="app"></div>
10+
<script type="module" src="/src/main.js"></script>
11+
</body>
12+
</html>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
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+
"importsNotUsedAsValues": "error",
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+
"forceConsistentCasingInFileNames": true,
22+
"baseUrl": ".",
23+
/**
24+
* Typecheck JS in `.svelte` and `.js` files by default.
25+
* Disable this if you'd like to use dynamic types.
26+
*/
27+
"checkJs": true,
28+
/** autocompletion for alias **/
29+
"paths": {
30+
"@/*": ["src/*"]
31+
}
32+
},
33+
/**
34+
* Use global.d.ts instead of compilerOptions.types
35+
* to avoid limiting type declarations.
36+
*/
37+
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
38+
}

0 commit comments

Comments
 (0)