diff --git a/client/package.json b/client/package.json index 5b4e259..a7d1abb 100644 --- a/client/package.json +++ b/client/package.json @@ -7,6 +7,7 @@ "scripts": { "build": "webpack", "deploy": "wrangler deploy src/index.js", + "dev": "webpack-dev-server --config webpack-dev.config.js --open", "prepare": "husky", "start": "wrangler dev src/index.js" }, @@ -37,6 +38,7 @@ "style-loader": "^4.0.0", "tailwindcss": "^3.4.4", "webpack": "^5.93.0", - "webpack-cli": "^5.1.4" + "webpack-cli": "^5.1.4", + "webpack-dev-server": "^5.0.4" } } diff --git a/client/public/index.html b/client/public/index.html new file mode 100644 index 0000000..116164f --- /dev/null +++ b/client/public/index.html @@ -0,0 +1,15 @@ + + + + + + + React App on Cloudflare Workers + + + + +
+ + + \ No newline at end of file diff --git a/client/src/components/Header/Header.jsx b/client/src/components/Header/Header.jsx index 07d334e..aab38c2 100644 --- a/client/src/components/Header/Header.jsx +++ b/client/src/components/Header/Header.jsx @@ -1,5 +1,5 @@ export const Header = () => ( -