From 00112eb7bc6574bc58f327ab55b38ca759dc8b93 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Wed, 9 Mar 2022 22:38:14 -0600 Subject: [PATCH] update frontend docs --- docs/docs/contributing.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/docs/contributing.md b/docs/docs/contributing.md index 16e0ce71e..0d56da211 100644 --- a/docs/docs/contributing.md +++ b/docs/docs/contributing.md @@ -131,20 +131,16 @@ cd web && npm install #### 3. Run the development server ```console -cd web && npm run start +cd web && npm run dev ``` #### 3a. Run the development server against a non-local instance -To run the development server against a non-local instance, you will need to provide an environment variable, `SNOWPACK_PUBLIC_API_HOST` that tells the web application how to connect to the Frigate API: - -```console -cd web && SNOWPACK_PUBLIC_API_HOST=http://:5000 npm run start -``` +To run the development server against a non-local instance, you will need to modify the API_HOST default return in `web/src/env.js`. #### 4. Making changes -The Web UI is built using [Snowpack](https://www.snowpack.dev/), [Preact](https://preactjs.com), and [Tailwind CSS](https://tailwindcss.com). +The Web UI is built using [Vite](https://vitejs.dev/), [Preact](https://preactjs.com), and [Tailwind CSS](https://tailwindcss.com). Light guidelines and advice: