Skip to content

Instantly share code, notes, and snippets.

Avatar

Santiago Arizti santiagoarizti

  • Cyberpuerta
  • Guadalajara
View GitHub Profile
View kawamas.vue
<script setup>
let kawaPrice = $ref(34)
let kawaSize = $ref(1.2)
let sixPrice = $ref(55)
let lataSize = $ref(.355)
const sixSize = $computed(() => lataSize * 6)
const kawaUnitPrice = $computed(() => kawaPrice / kawaSize)