Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Counter using floating action buttons.
<template>
<q-page class="flex flex-center">
<q-btn-group spread>
<q-btn color="primary" round @click="increment">+</q-btn>
<q-btn color="negative" round @click="decrement">-</q-btn>
<q-btn color="secondary" round @click="reset">Reset</q-btn>
</q-btn-group>
<div class="q-mt-md">Counter: {{ count }}</div>
</q-page>
</template>
<script setup>
import { ref } from 'vue';
const count = ref(0);
const increment = () => count.value++;
const decrement = () => count.value--;
const reset = () => count.value = 0;
</script>Quasar Framework is a Vue.js-based framework that allows developers to build high-performance, responsive web apps, mobile apps (via Cordova/Capacitor), and desktop apps (via Electron) using a single codebase.
Origin & Creator
Created by Razvan Stoenescu in 2015 to enable multi-platform app development with Vue.js.
Industrial Note
Quasar is widely used for enterprise dashboards, mobile hybrid apps, PWAs, and Electron-based desktop applications built with Vue.js.