To get the Ddict Popup project up and running on your local machine, follow these steps:
Prerequisites
Installation
npm install
Running the Project Locally
npm run dev
This command will start a local development server. You can now access the application in your web browser at the address provided in the terminal output (usually http://localhost:5173).
Run Lint Check
To check for linting errors, run:
npm run lint
This command will use ESLint to check your code for any linting errors based on the project's configuration.
Format Code with Prettier
To format your code according to the project's Prettier configuration, run:
npm run format
Building the Project
npm run build
This command compiles the application into static files in the dist directory. These files can then be deployed to a web server.
Previewing the Build
After building the project, you can preview the production build locally by running:
npm run preview
Check the terminal output for the local URL to access the preview (usually http://localhost:4173)