git clone https://github.com/pyxarez/snake-test.git
cd snake-test
yarn
yarn start
Directories
dist
directory is for the compiled .js
and .css
files.
src/components
directory is for .ts
and .tsx
files.
src/sass
directory is for .scss
files.
Usage
After the yarn start
command, access http://localhost:8080/
to browse.
By editing src/components/*.ts or *.tsx
or src/sass/*.scss
, you can see the updated result automaticaly.
To get compiled code, run this command.
yarn run build
You can also copy and use dist
directory independently.