Skip to content

ninest/hexy-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕘 Time as a color

Demo

Build setup

This project was bootstrapped with Create React App.

Clone or fork the repository then run

yarn
yarn start

to start a development server.

Run yarn build to compile and build the web app.

Generating icons

Using pwa-asset-generator to generate icons for Android, iOS, and iOS splashscreen.

pwa-asset-generator icon.png -b "linear-gradient(139.62deg, #FFE74C 4.35%, #6BF178 70.81%, #35A7FF 97.49%)" ./icon1

Change icon1 to icon-N to ensure that the browser picks up the latest icons if changed.

Hosting

  • Development: vc
  • Production: vc --prod

Extension

Create a .env file:

INLINE_RUNTIME_CHUNK=false

Run yarn build, then load the build/ directory as an unpacked extension.

TS errors

  • Reload VScode so it can detect changes

  • Set "jsx": "react"

    {
      "compilerOptions": {
        "jsx": "react"
      }
    }

📜 License

MIT