DaeguDude / battleship

2 stars 0 forks source link

Show entering screen to prompt User to enter a name #2

Closed DaeguDude closed 2 years ago

DaeguDude commented 2 years ago

Psuedocode

Let's write psuedocode first, I need to outline general working process to setup this.

There are 2 big things to consider


The look of the display


Adding interaction

DaeguDude commented 2 years ago

Let's set up a tailwind in the project to use it

This article helped me setting up tailwind, but I had to remove purge property in tailwind.config.js to get it actually working. It might be worth reading into the details of what it actually does.


This is way more strange, h-screen and w-screen didn't work, so it seemed like some of utility classes provided by tailwind css doesn't work. However, putting purge back into the tailwind.config.js made it work again. How odd it is

DaeguDude commented 2 years ago

Tailwind config is keep shouting at me that it's not configured correctly. Now it's showing me all this warning and no design is applied i should fix this

This fixed the issue. purge option is no longer 'available' in tailwind ^3.0.0

https://github.com/tailwindlabs/tailwindcss/discussions/6019