Socket
Socket
Sign inDemoInstall

quasar

Package Overview
Dependencies
0
Maintainers
2
Versions
386
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    quasar

Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time


Version published
Weekly downloads
127K
decreased by-0.45%
Maintainers
2
Created
Weekly downloads
 

Package description

What is quasar?

Quasar is a powerful Vue.js framework that allows developers to create responsive websites, mobile apps, and Electron apps using a single codebase. It provides a wide range of components, utilities, and tools to streamline the development process.

What are quasar's main functionalities?

Responsive Layouts

Quasar provides a powerful layout system that allows you to create responsive and adaptive layouts with ease. The example demonstrates a basic layout with a header and a page container.

<template>
  <q-layout view="hHh lpR fFf">
    <q-header elevated>
      <q-toolbar>
        <q-toolbar-title>
          My App
        </q-toolbar-title>
      </q-toolbar>
    </q-header>
    <q-page-container>
      <q-page>
        <div class="q-pa-md">
          <q-card>
            <q-card-section>
              Welcome to Quasar!
            </q-card-section>
          </q-card>
        </div>
      </q-page>
    </q-page-container>
  </q-layout>
</template>
<script>
export default {
  name: 'MyLayout'
}
</script>

Form Components

Quasar offers a wide range of form components that are easy to use and integrate. The example shows a simple form with input fields for name and email, and a submit button.

<template>
  <q-form @submit="onSubmit">
    <q-input filled v-model="formData.name" label="Name" />
    <q-input filled v-model="formData.email" label="Email" type="email" />
    <q-btn type="submit" label="Submit" color="primary" />
  </q-form>
</template>
<script>
export default {
  data() {
    return {
      formData: {
        name: '',
        email: ''
      }
    }
  },
  methods: {
    onSubmit() {
      console.log(this.formData);
    }
  }
}
</script>

Dialogs and Notifications

Quasar provides built-in support for dialogs and notifications, making it easy to create interactive and user-friendly interfaces. The example demonstrates how to show a dialog with a title, message, and OK/Cancel buttons.

<template>
  <q-page>
    <q-btn @click="showDialog" label="Show Dialog" color="primary" />
  </q-page>
</template>
<script>
export default {
  methods: {
    showDialog() {
      this.$q.dialog({
        title: 'Dialog Title',
        message: 'This is a dialog message.',
        ok: 'OK',
        cancel: 'Cancel'
      }).onOk(() => {
        console.log('OK clicked');
      }).onCancel(() => {
        console.log('Cancel clicked');
      });
    }
  }
}
</script>

Other packages similar to quasar

Readme

Source

Quasar Framework logo

Quasar Framework UI Package

Build high-performance VueJS user interfaces in record time: responsive Single Page Apps, SSR Apps, PWAs, Browser extensions, Hybrid Mobile Apps and Electron Apps. If you want, all using the same codebase!

Join the chat at https://chat.quasar.dev https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg

Please submit a PR to https://github.com/quasarframework/quasar-awesome with your website/app/Quasar tutorial/video etc. Thank you!

Supporting Quasar

Quasar Framework is an MIT-licensed open source project. Its ongoing development is made possible thanks to the support by these awesome backers.

Please read our manifest on Why donations are important. If you'd like to become a donator, check out Quasar Framework's Donator campaign.

Documentation

Head on to the Quasar Framework official website: https://quasar.dev

Stay in Touch

For latest releases and announcements, follow on Twitter: @quasarframework

Chat Support

Ask questions at the official community Discord server: https://chat.quasar.dev

Community Forum

Ask questions at the official community forum: https://forum.quasar.dev

Contributing

I'm excited if you want to contribute to Quasar under any form (report bugs, write a plugin, fix an issue, write a new feature). Please read the Contributing Guide.

Semver

Quasar is following Semantic Versioning 2.0.

License

Copyright (c) 2015-present Razvan Stoenescu

MIT License

Keywords

FAQs

Last updated on 03 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc