上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页
摘要: 设置style <script lang="ts"> let count: number = $state(0); const decrement = () => { count -= 1; }; const increment = () => { count += 1; }; </script> 阅读全文
posted @ 2025-01-16 20:38 卓能文 阅读(16) 评论(0) 推荐(0)
摘要: go install github.com/nao1215/gup@latest gup update 阅读全文
posted @ 2025-01-04 23:39 卓能文 阅读(42) 评论(0) 推荐(0)
摘要: go minify是一款优秀的web相关文件压缩工具,从本人简单使用效果来看,js压缩比terser更好。 安装: go install github.com/tdewolff/minify/v2/cmd/minify@latest 使用: minify -r -o dest src/ 将src目录 阅读全文
posted @ 2024-12-31 16:03 卓能文 阅读(35) 评论(0) 推荐(0)
摘要: vite.config.ts: import { defineConfig } from 'vite' // https://vite.dev/config/ export default defineConfig({ build: { minify: true, target: "esnext" 阅读全文
posted @ 2024-12-29 19:27 卓能文 阅读(32) 评论(0) 推荐(0)
摘要: eframe_template是egui的一个模板示例程序。 rust-toolchain: # If you see this, run "rustup self update" to get rustup 1.23 or newer. # NOTE: above comment is for o 阅读全文
posted @ 2024-12-24 16:07 卓能文 阅读(21) 评论(0) 推荐(0)
摘要: implementation("io.ktor:ktor-client-cio:3.0.3") package org.example import io.ktor.client.HttpClient import io.ktor.client.engine.cio.* import io.ktor 阅读全文
posted @ 2024-12-21 19:17 卓能文 阅读(56) 评论(0) 推荐(0)
摘要: build.gradle.kts: import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.jetbrains.kotlin.gradle.dsl.JvmTarget import org.jetbrain 阅读全文
posted @ 2024-12-20 11:37 卓能文 阅读(15) 评论(0) 推荐(0)
摘要: /* * This file was generated by the Gradle 'init' task. * * This generated file contains a sample Kotlin application project to get you started. * For 阅读全文
posted @ 2024-12-20 11:03 卓能文 阅读(63) 评论(0) 推荐(0)
摘要: repositories { maven { setUrl("https://mirrors.huaweicloud.com/repository/maven/") } mavenLocal() // Use Maven Central for resolving dependencies. mav 阅读全文
posted @ 2024-12-20 10:43 卓能文 阅读(276) 评论(0) 推荐(0)
摘要: tasks.withType<Jar> { manifest { attributes["Main-Class"] = "com.example.MainKt" } } 阅读全文
posted @ 2024-12-19 17:01 卓能文 阅读(42) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页