Skip to content

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-preact

activated with "use router" which means preact-iso is installed and used to route URL to pages

files

  • index.html loads src/index.jsx
  • src/index.jsx provides a different component (such as Home) depending on route, or default if 404, using preact-iso
  • src/pages/Home/index.jsx and exports function Home

todo

  • check the server for your own screed? maybe by requesting a subset of pubkeys containing part of yours (to prevent doxing yourself to the server)
  • let you know if you have changes newer than the last time you uploaded to the server (from localstorage)

Getting Started

  • npm run dev - Starts a dev server at http://localhost:5173/ or whatever port is configured in vite.config.js

  • npm run dev -- --host - same as above but allows for connections to other than localhost, such as external IP address (don't do this)

  • npm run build - Builds for production, emitting to dist/

  • npm run preview - Starts a server at http://localhost:4173/ to test production build locally

  • npm run preview -- --port 8990 --host - same as above but on port 8990 and allows connections from outside localhost (don't do this)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages