Skip to content

Instantly share code, notes, and snippets.

View santiagoarizti's full-sized avatar

Santiago Arizti santiagoarizti

  • Cyberpuerta
  • Guadalajara
View GitHub Profile
@santiagoarizti
santiagoarizti / kawamas.vue
Created May 20, 2022 01:33
Kawamas vue sfc
<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)