You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a list of things that could make it more helpful to beginners:
Clarify where tauri.conf.json is located (not mentioned beforehand).
Clarify what dist/ does. Shouldn't it be ../dist, which is already present in the auto-generated code from npm create tauri-app@latest?
The package.json file in the doc differs from the auto-generated code (React + Typescript).
Same goes for the vite.config.js. Are we meant to use the auto-generated code or the one in the docs? The one in the docs do not have TypeScript support or HMR, but the generated code has less support for debugging. Also, it might be useful to explain that the environment variables are set automatically by Tauri.
Additional instructions for Docker users: if TAURI_DEV_HOST is not set, set host: true so it can listen to connections from outside the container, otherwise npm run dev won't work.
The text was updated successfully, but these errors were encountered:
Page of interest: https://v2.tauri.app/start/frontend/vite/
Here's a list of things that could make it more helpful to beginners:
tauri.conf.json
is located (not mentioned beforehand).dist/
does. Shouldn't it be../dist
, which is already present in the auto-generated code fromnpm create tauri-app@latest
?package.json
file in the doc differs from the auto-generated code (React + Typescript).vite.config.js
. Are we meant to use the auto-generated code or the one in the docs? The one in the docs do not have TypeScript support or HMR, but the generated code has less support for debugging. Also, it might be useful to explain that the environment variables are set automatically by Tauri.TAURI_DEV_HOST
is not set, sethost: true
so it can listen to connections from outside the container, otherwisenpm run dev
won't work.The text was updated successfully, but these errors were encountered: