当前位置: 首页 > news >正文

建网站几个按钮wordpress 实用主题

建网站几个按钮,wordpress 实用主题,网站做视频播放占用cpu吗,怎么做网站代销Tauri 是一个构建适用于所有主流桌面和移动平台的轻快二进制文件的框架。开发者们可以集成任何用于创建用户界面的可以被编译成 HTML、JavaScript 和 CSS 的前端框架#xff0c;同时可以在必要时使用 Rust、Swift 和 Kotlin 等语言编写后端逻辑。 Tauri 是什么#xff1f; |…Tauri 是一个构建适用于所有主流桌面和移动平台的轻快二进制文件的框架。开发者们可以集成任何用于创建用户界面的可以被编译成 HTML、JavaScript 和 CSS 的前端框架同时可以在必要时使用 Rust、Swift 和 Kotlin 等语言编写后端逻辑。 Tauri 是什么 | Tauri 首先安装依赖包 安装Ubuntu apt包 sudo apt install libwebkit2gtk-4.0-dev \build-essential \curl \wget \file \libxdo-dev \libssl-dev \libgtk-3-dev \libayatana-appindicator3-dev \librsvg2-dev 安装rustc apt安装的版本低需要使用官网的安装 curl --proto https --tlsv1.2 https://sh.rustup.rs -sSf | sh 但是这个会卡住。。。 中间尝试过用apt安装好并更新到1.80版本 apt upgrade rustc-1.80 看着说更新了但是还是报错说rustc版本低。。。。后来是用的官网的方法 官网方法 直接执行安装命令 curl https://sh.rustup.rs -sSf | sh安装完成后提示 Rust is installed now. Great!To get started you may need to restart your current shell. This would reload your PATH environment variable to include Cargos bin directory ($HOME/.cargo/bin).To configure your current shell, you need to source the corresponding env file under $HOME/.cargo.This is usually done by running one of the following (note the leading DOT): . $HOME/.cargo/env # For sh/bash/zsh/ash/dash/pdksh source $HOME/.cargo/env.fish # For fish 重新登录用户或者执行命令激活环境 . $HOME/.cargo/env # For sh/bash/zsh/ash/dash/pdksh使用bash创建项目 sh (curl https://create.tauri.app/sh)% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed0 0 0 0 0 0 0 0 --:--:-- --:--:-- --: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --: 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:100 16121 100 16121 0 0 7933 0 0:00:02 0:00:02 --:--:-- 7937 info: downloading create-tauri-app ✔ Project name · tauri-app ✔ Identifier · com.tauri-app.app ✔ Choose which language to use for your frontend · TypeScript / JavaScript - (pnpm, yarn, npm, deno, bun) ✔ Choose your package manager · pnpm ✔ Choose your UI template · Vue - (https://vuejs.org/) ✔ Choose your UI flavor · TypeScriptTemplate created!Your system is missing dependencies (or they do not exist in $PATH): ╭────────────────────┬─────────────────────────────────────────────────────╮ │ Node.js │ Visit https://nodejs.org/ │ ├────────────────────┼─────────────────────────────────────────────────────┤ │ webkit2gtk rsvg2 │ Visit https://tauri.app/guides/prerequisites/#linux │ ╰────────────────────┴─────────────────────────────────────────────────────╯Make sure you have installed the prerequisites for your OS: https://tauri.app/start/prerequisites/, then run:cd tauri-apppnpm installpnpm tauri android initFor Desktop development, run:pnpm tauri devFor Android development, run:pnpm tauri android dev进入目录使用 Tauri CLI 启动开发服务器 cd tauri-app cargo tauri dev 这里没有运行成功改用手动  先安装 cargo search cargo-tauri 都不行换一个方法重新用cargo创建目录 使用cargo创建项目 执行命令 cargo install create-tauri-app --locked cargo create-tauri-app安装过程中会让选择模版五种ui模版最佳应该选哪个 Vanilla Yew Leptos Sycamore Dioxus 听AI的劝再加上自己的主观判断最后选了Leptos 装完之后提示 Your system is missing dependencies (or they do not exist in $PATH): ╭───────────────┬───────────────────────────────────────────────────────────╮ │ Tauri CLI │ Run cargo install tauri-cli --version ^2.0.0 --locked │ ├───────────────┼───────────────────────────────────────────────────────────┤ │ Trunk │ Run cargo install trunk --locked │ ├───────────────┼───────────────────────────────────────────────────────────┤ │ wasm32 target │ Run rustup target add wasm32-unknown-unknown │ ├───────────────┼───────────────────────────────────────────────────────────┤ │ webkit2gtk │ Visit https://tauri.app/guides/prerequisites/#linux │ ╰───────────────┴───────────────────────────────────────────────────────────╯Make sure you have installed the prerequisites for your OS: https://tauri.app/start/prerequisites/, then run:cd tauri-appcargo tauri android initFor Desktop development, run:cargo tauri devFor Android development, run:cargo tauri android dev 后来才知道需要按照提示安装缺失的软件比如Tauri CLI等。  开始 使用 Tauri CLI 启动开发服务器 项目创建好后提示执行下面命令安装Tauri CLI cargo install tauri-cli --version ^2.0.0 --locked安装完成提示 Installing /root/.cargo/bin/cargo-tauriInstalled package tauri-cli v2.1.0 (executable cargo-tauri) bash: Run: command not found因为是远程无窗口服务器所以最后有个bash命令没执行理论上应该是 您将会看到一个新的窗口被打开该窗口正在运行您的应用。 恭喜您 您已经创建了您自己的 Tauri 应用 后来在Mac下安装成功看到了Tauri的窗体。 调试 报错error: crates-io is replaced with non-remote-registry source registry mirror cargo search cargo-tauri error: crates-io is replaced with non-remote-registry source registry mirror; include --registry crates-io to use crates.io 加上这句 [source.crates-io] registry https://github.com/rust - lang/crates.io - index replace-with mirror 好像不管用。 用这条命令 cargo search tauri --registry crates-io 能看到东西但是装起来还是不错应该还是版本问题。  报错cannot install package tauri 2.1.1, it requires rustc 1.77.2 or newer cargo install tauri Updating mirror index error: cannot install package tauri 2.1.1, it requires rustc 1.77.2 or newer, while the currently active rustc version is 1.75.0 tauri 2.0.0-rc.17 supports rustc 1.71 用apt等升级rustc一直没升上去最后使用官网的方法安装新版本 curl https://sh.rustup.rs -sSf | sh参考 初识Cargo-Rust的包管理器_cargo,rust包管理器-CSDN博客 FreeBSD系统不支持cargo install tauri-cli  命令安装 cargo install tauri-cli --version ^2.0.0 --locked   Compiling magic_string v0.3.4 error: Host platform not yet supported by cargo-mobile2! Wed love if you made a PR to add support for this platform ❤️-- /home/skywalk/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/cargo-mobile2-0.17.4/src/os/mod.rs:22:1| 22 | compile_error!(Host platform not yet supported by cargo-mobile2! Wed love if you made a PR to add support for this platform ❤...;| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^error[E0432]: unresolved import crate::os::consts最终放弃在FreeBSD下使用Tauri 。
http://www.dnsts.com.cn/news/256640.html

相关文章:

  • 网站制作开发 杭州湖南企业网络推广软件
  • 域名注册网站 简称域名和服务器多少钱
  • 仙桃网站设计公司网站建设的方案书
  • w3c网站开发电子商务网站例
  • 如何制作网站专题wordpress源码系统下载
  • 浙江网站建设品牌设计设计教育教学活动的注意事项
  • 晋江网站建设公司哪家好梁志天设计公司官网首页
  • 用摄像头直播网站怎么做山南网站建设
  • 开发网站需要注意的安全问题wordpress首页关键字
  • 网站承建商有哪些网络广告电话
  • 项城网站制作多少钱怎样做自己的销售网站6
  • 手机网站绑定域名网页加速器怎么开
  • 工艺品网站建设开发足球比赛直播在线观看免费
  • 湘潭学校网站建设 磐石网络第一有些网站下方只有版权没有ICP
  • 网站加载很慢网站流量到底怎样赚钱的
  • 苏州网站开发建设制作对于网站运营应该如何做
  • 台州做微网站网页设计html代码大全爱心
  • 网站网站建设费进什么科目做英文的小说网站有哪些
  • php网站开发待遇怎样用源代码做网站
  • 开发asp网站需要用到什么服务器中国建筑企业公司排名
  • 网站服务器机房景德镇网站建设景德镇
  • 手机版网站 html5在线视频播放网站开发
  • wordpress+游戏网站南昌网站建设加王道下拉
  • 网站备案密码郑州app开发
  • 建筑行业网站开发个人主页中不会展示下列哪项内容
  • 网站建设与维护管理办法自己电脑做网站访问速度
  • 企业官方网站建设目的seo推广专员
  • 做外贸上哪些网站找客户电子商务网站建设项目书
  • 站长素材音效公司销售管理系统
  • 免费高清素材网站织梦模板如何安装