Skip to main content

CurateClick

rubic.vercel.app favicon

Rubic

Rubic 是一个轻量级的小程序运行时框架,继承 Vue3 的设计思路,提供 Composition API 和响应式能力,专注于提升小程序开发的逻辑复用和代码组织能力。

Check out Rubic on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

Rubic 是一个轻量级的小程序运行时框架,它继承 Vue3 的设计思路,并提供了与 Vue 一致的编程模型,包括组合式与响应式 API 。它专注于 javascript 逻辑部分,为小程序提供更好的逻辑复用以及更灵活的代码组织能力。文档:https://rubic.vercel.app/源码:https://github.com/JasKang/rubic特性:- 响应性:基于 @vue/reactivity 的响应式能力。- 组合式:与 vue3 一致的 Composition API 来描述组件逻辑。- 类型化:灵活的 API 和完整的 TypeScript 类型。- 轻量级:仅 30KB 的体积,无编译依赖,现有小程序可轻松接入。下面是一个最基本的组件示例:tsimport { definePage, ref, computed, onLoad } from 'rubic'definePage({ setup(query, ctx) { const count = ref(0) const double = computed(() => count.value * 2) const increment = () => { count.value++ } onLoad(()=>{ console.log('onLoad') }) return { count, double, increment, } },})``````vue-html<view bindtap="increment">{{count}} x2:{{double}}</view>

Latest Weekly Picks

freeadhd.com favicon
Weekly Pick

ADHD Test - a free, no-sign-up adult ADHD self-screening tool with instant results.

ADHD Test
pixmira.ai favicon
Weekly Pick

Free AI photo editor and image generator for fast visual creation.

PixMira AI
pslratings.com favicon
Weekly Pick

Free PSL Rating gives an instant AI PSL score with tier and four category breakdowns, no signup.

Free PSL Rating
gothic1remake.com favicon
Weekly Pick

Gothic 1 Remake Guide — Release, Walkthroughs & Quests

gothic 1 remake

Predict video virality before you publish.

Virality Predictor

Powerful Motion Control AI Video Generator

Motion Control AI

PlusGO 是面向中国大陆用户的 ChatGPT Plus 代充值服务平台。使用官方 CDKey,支持支付宝和微信扫码支付,平均 2 分钟完成 Plus 开通,自 2025 年起已为超过 10,000 名用户完成充值。

www.toolcenter.ai favicon
Weekly Pick

Discover the Best AI & Productivity Tools — 1,500+ tools with honest reviews.

ToolCenter