Git Product home page Git Product logo

switchenv's Introduction

概述

SwitchEnv是一个基于Rust并以Tauri+Yew为基础框架开发的用于服务环境切换小工具

issue

  1. 客户端加载svg,以http的方式加载不出来,但是浏览器是可以的:https://github.com/tauri-apps/tauri/issues/3007解决方式

     "tauri": {
        "allowlist": {
         "all": true,
         "http": {
           "all": true,
           "request": true
         }
       },
     }
    
  2. 使用trunk进行打包应用的时候,在tauri.config.json里的beforeDevCommand写上cargo -p switch-env-cli && trunk serve switch-env-ui/index.html并没有让trunk服务正常启动,会一直循环报Warning:Waiting for your frontend dev server to start on http://localhost:1420,经过github好心人帮助,解决了问题,解决方式是改成cargo -p switch-env-cli && cd switch-env-ui && trunk serve,附上相关issue:(tauri-apps/tauri#5375)

switchenv's People

Contributors

jaylenchan avatar simonhyll 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.