GithubHelp home page GithubHelp logo

tauri-project's Introduction

Tauri-Project

Este projeto é um teste meu do Tauri

Para criar um projeto do zero, como esse:

Primeiro é necessário o Vite:
npm init vite@latest

Escolha o tipo do projeto
Exemplo:

√ Project name: ... meuapp
√ Select a framework: » React
√ Select a variant: » TypeScript

Depois:
cd meuapp
npm install

Para usar Tauri é necessário ter Rust e algumas opções do Visual Studio Community instalados:

https://www.rust-lang.org/learn/get-started

https://visualstudio.microsoft.com/visual-cpp-build-tools/

alt_text

Instale o Tauri CLI:
cargo install tauri-cli

Após isso:
cargo tauri init

Escolha as opções para o seu projeto
Exemplo:
✔ What is your app name? · meuapp
✔ What should the window title be? · meuapp
✔ Where are your web assets (HTML/CSS/JS) located, relative to the "/src-tauri/tauri.conf.json" file that will be created? · ../dist
✔ What is the url of your dev server? · http://localhost:5173
✔ What is your frontend dev command? · npm run dev
✔ What is your frontend build command? · npm run build

Se quiser rodar o projeto no navegador use:
npm run dev

Para abrir como janela:
cargo tauri dev

Para gerar o app instalável:

Windows Installer:
cargo tauri build

Para agrupar todas as licenças "THIRDPARTY.yml" de terceiros em um único arquivo:
cargo install cargo-bundle-licenses

tauri-project's People

Contributors

devartes avatar

Stargazers

David Fernando avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.