Skip to content

nichoth/nichoth

Repository files navigation

nichoth.com

https://nichoth.com/

My website, from the distant past, that i have no memory of


templates

Links to various templates

notes

Links and notes

plus, a list

build

npm run build

start a local dev server

npm start

deploy to surge

npm run deploy

chat

  1. make a file src/_chat.html
  2. copy the file to public/chat/index.html
  3. _chat.html should have a link like /chat/chat.js

src="/chat/chat.js"

need to copy the html file, and browserify the script

or add to the build script

the problem is that there's no watch script for developing

a watch script

mkdir -p public/chat && budo src/chat.js:chat.js --dir=public/chat --live --pushstate --open -- -p esmify -dv

build script

browserify src/chat.js > public/chat/chat.js -dv