npm init -y
npm i -D typescript
npx tsc -v
npx tsc --initnpm i -D three @types/threenpm run devnpm i -g http-server
npm run build
http-server ./dist/clientnpm i -g gh-pages
gh-pages -d dist/client
or
npm run deploy-ghp| Name | Name | Last commit date | ||
|---|---|---|---|---|
npm init -y
npm i -D typescript
npx tsc -v
npx tsc --initnpm i -D three @types/threenpm run devnpm i -g http-server
npm run build
http-server ./dist/clientnpm i -g gh-pages
gh-pages -d dist/client
or
npm run deploy-ghp