#"Embed" website to application

13 messages · Page 1 of 1 (latest)

stark sedge
#

How can I not use a frontend and "embed" an existing website using Tauri instead?

coral spear
#

Simply specify a website in the windows "url" config

#

Using an external site however comes with limitations, most of which can be circumvented but at the cost of security

stark sedge
coral spear
stark sedge
#

Can I just remove build block entirely?

coral spear
#

It should be whatever URL your development server is. Don't think you can remove it, but you can at least set all the stuff in there to be blank I suppose

stark sedge
#

"devPath" cannot be empty

#
error: proc macro panicked
  --> src/main.rs:13:14
   |
13 |         .run(tauri::generate_context!())
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: The `devPath` configuration cannot be empty

error: could not compile `taurus` (bin "taurus") due to previous error
coral spear
#

Then set it to your remote url

stark sedge
#

I don't even need to set windows