<script setup>
import BarcodeScanner from "~/components/imports/BarcodeScanner.vue";
import Products from "~/components/imports/Products.vue";

function onScanned(code) {
  console.log("code", code);
}
</script>
<template>
  <div class="fixed-grid has-12-cols">
    <!-- <ClientOnly>
      <BarcodeScanner @scanned="onScanned" />
    </ClientOnly> -->
    <div class="grid">
      <div class="cell is-col-span-12">
        <Products />
      </div>
    </div>
  </div>
</template>
