By default Parcel prefixes output paths with /. So when Chrome loads wpcarro.dev/goals it attempts to get the CSS and JS and other assets from wpcarro.dev/ instead of wpcarro.dev/goals/. Using the --public-url ./ option makes Parcel output relative paths, which should work better for my needs. |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| default.nix | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| shell.nix | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| yarn.lock | ||
Goals
Kent C. Dodds taught me that I can create a React website without any bundling
software. To practice this, I created a simple React app to track some of my
goals. Notice how I wrote JSX inside of a <script type="text/babel"> tag.