- Open Terminal or the command prompt, and then run the following command:
$ npx [email protected]
For more information on the files, folder structure, and the app, click here.
- Run your app locally.
$ cd my-miro-app $ npm run start
- If you changed the name of the app, replace
my-miro-appwith your app name.
- We use mkcert to generate locally-trusted development certificates. This is required to run
localhostover HTTPS. When you run
npm startfor the first time, you are prompted to enter your password so mkcert can generate the certificate for you. The generated certificate is available in the ~/.vite-plugin-mkcert folder.
- Open your browser, paste the URL you just copied in step 5, and press ENTER.
A message indicating that your app is now running locally appears.
Keep your app URL handy as you’ll need this URL in a few minutes.
Updated 3 months ago
Did this page help you?