336 chars20 lines
index.ts1269 chars66 lines
To run the application, you can use a package like parcel-bundler
to quickly get a local dev server running by running this command:
index.ts22 chars2 lines
Then, navigate to http://localhost:1234/
to see the cat image following your mouse around the screen. Make sure you have the cat.png image in the same directory as your code.
gistlibby LogSnag