Skip to content

[docs] Unprepared to answer tauri init questions #203

@bronson

Description

@bronson

While reading your setup docs, I feel unprepared for the questions tauri init asks.

I wanted to play around with Tauri so I went to set up a new app. Had smooth sailing until "Initialize Tauri in Your App" on https://tauri.studio/en/docs/development/integration

I'm told to run yarn tauri init. Sounds sensible.

It asks Where are your web assets (HTML/CSS/JS) located, relative to the "<current dir>/src-tauri" folder that will be created?

Huh? I don't have any assets. Why won't it accept a blank answer? Fine, let's try asdf. Seems to be acceptable.

Then it asks What is the url of your dev server?

Again, huh? I don't have a dev server. Tauri is supposed to create apps isn't it? I suppose https://127.0.0.1 seems safe.

Then Do you want to install @tauri-apps/api?

No idea. What sort of an API are we talking about? This time I can just hit return. But what did I just do?

And it finishes.

It seems unlikely my guesses are correct. I'd appreciate it if the docs provided some guidance on how to answer these questions.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions