public/index.html: The main HTML file.
public/index.js: Main components and JSX template, the text, images, buttons, css, all of it is loaded by this file
public/style.css: Main stylesheet, mainly fonts and logos
- You can import modules from npm without adding them to your package.json!
- Import stylesheets with a simple
- WMR has Built-in caching for npm modules
npm run start: Builds the preactjs app to
distand spins up a server using http-server with port
npm run build: Builds the preactjs app to
npm run clean: Removes the
distfolder so old bundles do not remain and take up space.
Made with Glitch
( ᵔ ᴥ ᵔ )
Yes, I’m aware of the footer not spaced out, I made a change and it may be the way wmr caches stuff on why it’s not updating, so I’ma give it a little bit for the cache to expire.