Skip to content

First repository on the Hangman game, entirely developed with VueJS 3. You can test it yourself at the link below. I completed this project, including the learning time, in 18 days. Fix the problem and upgrade the code in +10days.

Notifications You must be signed in to change notification settings

Andrea-Thecoder/hangman-game-VueJs

Repository files navigation

Hangman Game:

This is my first repository developed with VueJS 3, the Hangman game. Before this challenge, I had never worked with Vue, so I learned Vue while creating this web app. I completed the task in 18 days, including the time spent studying Vue. It was an incredibly exciting and highly educational experience because, for the first time since completing my Full Stack Developer training course, I had to learn something from scratch on my own. I faced several challenges and was immensely satisfied with how I overcame them.

One of these challenges was managing the letter guessing and dispatching results (to differentiate between correct and incorrect guesses). I also uploaded my web app to GitHub Pages for the first time, effectively "deploying" it. Managing all the TypeScript and Vite configurations was a significant undertaking, but it was highly instructive.

Below, you will find the procedure to start the project in development mode:

Thank you for your attention.

Note: After noticing that dispatchEvent has been superseded by Composables (a feature introduced in Vue 3), I decided to perform my first refactoring to eliminate dispatchEvent and integrate Composables.

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

About

First repository on the Hangman game, entirely developed with VueJS 3. You can test it yourself at the link below. I completed this project, including the learning time, in 18 days. Fix the problem and upgrade the code in +10days.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published