finished: missing styling, but logic done

This commit is contained in:
Mike 2024-01-07 22:08:08 -05:00
parent 83112555b7
commit f617572abf
7 changed files with 878 additions and 2 deletions

13
todo/.eslintrc.js Normal file
View file

@ -0,0 +1,13 @@
// .eslintrc.js example
module.exports = {
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
}

2
todo/dist/bundle.js vendored Normal file

File diff suppressed because one or more lines are too long

1
todo/dist/index.html vendored Normal file
View file

@ -0,0 +1 @@
<!doctype html><html><head><meta charset="utf-8"><title>Todo</title><meta name="viewport" content="width=device-width,initial-scale=1"><script defer="defer" src="bundle.js"></script></head><body></body></html>

859
todo/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -14,6 +14,7 @@
"license": "ISC",
"devDependencies": {
"css-loader": "^6.8.1",
"eslint": "^8.56.0",
"html-webpack-plugin": "^5.5.4",
"inline-source-map": "^0.6.2",
"style-loader": "^3.3.3",

View file

@ -1,4 +1,4 @@
import { getActiveProject, setActiveProject, updateDisplay, getTodoHandler } from "..";
import { getActiveProject, setActiveProject, updateDisplay, } from "..";
import { save } from "./storage";
function todoTableComponent(todos) {

View file

@ -2,7 +2,7 @@ const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
mode: 'development',
mode: 'production',
entry: {
index: './src/index.js',
},