This project is an example of a dynamic form created using Vue 3 and TypeScript. It includes the ability to add and remove form fields, count vowels in each field, and highlight fields that match the search query.
-
Clone the repository:
git clone https://github.com/neprostostas/my-dynamic-form.git
-
Navigate to the project directory:
cd dynamic-form
-
Install dependencies:
npm install
-
Start the local development server:
npm run serve
This command will start a local server at http://localhost:8080, where you can view your project.
The project includes unit tests written using Vue Test Utils and Jest. To run the unit tests, execute the following command:
npm run test:unit
This command will run all the unit tests located in the tests/unit
directory and display the test results in the console.
src/components
: Contains Vue components.src/views
: Contains views for routing.tests/unit
: Contains unit tests for components.
- Node.js (version 14 or newer)
- npm (version 6 or newer)
Stanislav Kinash, 2024