Giter VIP home page Giter VIP logo

quantum's Introduction

Quantum

This template should help get you started developing with Tauri + Solid + TypeScript + TailwindCSS.

Caution

Tauri v2 is approaching stability fast, but it not yet considered ready for production use.

Cloning it πŸ‘

You can use the Template button on the GitHub UI and shallow clone this repository. Or, do it with degit:

npx degit atilafassina/quantum

Alternatively, good old git clone can also work. It's recommended to make a shallow clone so it doesn't bring entire repository history:

git clone --depth 1 https://github.com/atilafassina/quantum

Running 🚀

The snippets below use PNPM as the package manager and task runner, but Yarn, NPM, Bun, or Cargo should also work with the appropriate syntax.

πŸ›Ÿ Check the Tauri Docs for more guidance on building your app.

First step is always to install JavaScript dependencies from the root:

pnpm install

Desktop (MacOS, Linux, or Windows) πŸ–₯️

Once the template is properly cloned, install Node.js dependencies and you can run the Tauri app.

pnpm tauri dev

iOS 🍎

Check the prerequisites for having iOS ready to run (MacOS only). Once that is done, let’s create the XCode project:

pnpm tauri ios init

If everything runs successfully (keep an eye for warnings on your terminal). You can start the development server:

pnpm tauri ios dev --open

This command will open XCode with your project, select the simulator and get ready to run.

Android πŸ€–

Android Studio and a few other steps will be required to get things up and running. Once that's done, you can initialize the project:

pnpm tauri android init

Open the Android Studio, and run the development build:

pnpm tauri android dev

This command will open the Android Pixel simulator.

Suggested VSCode extensions πŸ’‘


quantum's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

quantum's Issues

fail to build iOS in Xcode

error report

An error occurred when using pnpm tauri ios dev --open.

It seems related to the custom build script Build Rust Code at the bottom of the src-tauri/gen/apple/project.yml.

I can't find the libquantum_lib.a at its target path my-quantum/src-tauri/gen/apple.

image

repro steps

  • degit atilafassina/quantum my-quantum
  • pnpm install
  • pnpm tauri ios init
  • pnpm tauri ios dev --open

env info

  • System:
    • OS: macOS 14.3
    • CPU: (10) arm64 Apple M1 Pro
  • Binaries:
    • Node: 20.10.0
    • pnpm: 8.14.0

additional context

It's my first time using Xcode and building iOS. So I'm unsure if this is a problem with this template or any other problem of myself.

`pnpm tauri ios build` built app hits error sending request for url

App seems to build fine but when trying to run it on device I get this error:

error sending request for url (http://192.168.1.68:1420/)

Any ideas?

% pnpm tauri info     

> [email protected] tauri /Users/tylervanderhoeven/Desktop/quantum
> tauri "info"


[βœ”] Environment
    - OS: Mac OS 14.4.1 X64
    βœ” Xcode Command Line Tools: installed
    βœ” rustc: 1.76.0 (07dca489a 2024-02-04)
    βœ” cargo: 1.76.0 (c84b36747 2024-01-18)
    βœ” rustup: 1.26.0 (5af9b9484 2023-04-05)
    βœ” Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 18.19.0
    - pnpm: 9.0.2
    - yarn: 1.22.22
    - npm: 10.2.3
    - bun: 1.1.2

[-] Packages
    - tauri [RUST]: 2.0.0-beta.14
    - tauri-build [RUST]: 2.0.0-beta.11
    - wry [RUST]: 0.39.0
    - tao [RUST]: 0.27.0
    - tauri-cli [RUST]: 2.0.0-alpha.14
    - @tauri-apps/api [NPM]: 2.0.0-beta.7
    - @tauri-apps/cli [NPM]: 2.0.0-beta.12

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: SolidJS
    - bundler: Vite

[-] iOS
    - Developer Teams: REDACTED

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.