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
This is usually an URL to a dev server, which serves your application assets with hot-reload and HMR. Most modern JavaScript bundlers like vite provides a way to start a dev server by default.
If you don’t have a dev server or don’t want to use one, ignore this option and use frontendDist and point to a web assets directory, and Tauri CLI will run its built-in dev server and provide a simple hot-reload experience.
Undefined --dev-url is recognized as none, but not applied as such:
% cargo tauri init --dev-url -D ../src -A tst --before-dev-command "" --before-build-command "" -W Test error: a value is required for '--dev-url <DEV_URL>' but none was suppliedFor more information, try '--help'.
Init without --dev-url prompts for the dev server URL:
% cargo tauri init -D ../src -A tst --before-dev-command "" --before-build-command "" -W Test ? What is the url of your dev server? ›
Therefore it is not possible to provision a repository without any dev server.
% cargo tauri --versiontauri-cli 2.0.0-beta.9
The text was updated successfully, but these errors were encountered:
Documentation states the
devUrl
can benull
, although Tauri CLI does not allow setting none.Undefined
--dev-url
is recognized as none, but not applied as such:Init without
--dev-url
prompts for the dev server URL:Therefore it is not possible to provision a repository without any dev server.
The text was updated successfully, but these errors were encountered: