Miss any of our Open RFC calls?Watch the recordings here! »

@quasar/quasar-ui-qflashcard

1.0.5 • Public • Published

QFlashcard

npm npm

QFlashcard is a Quasar component. It allows you to add css mashups and transitions to your Quasar app.

Examples and Documentation

Can be found here

Usage

Quasar CLI project

Install the App Extension.

OR:

Create and register a boot file:

import Vue from 'vue'
import Plugin from '@quasar/quasar-ui-qflashcard'
import '@quasar/quasar-ui-qflashcard/dist/index.css'
 
Vue.use(Plugin)

OR:

<style src="@quasar/quasar-ui-qflashcard/dist/index.css"></style>
 
<script>
import { QFlashcard } from '@quasar/quasar-ui-qflashcard'
 
export default {
  components: {
    QFlashcard
  }
}
</script> 

Vue CLI project

import Vue from 'vue'
import Plugin from '@quasar/quasar-ui-qflashcard'
import '@quasar/quasar-ui-qflashcard/dist/index.css'
 
Vue.use(Plugin)

OR:

<style src="@quasar/quasar-ui-qflashcard/dist/index.css"></style>
 
<script>
import { QFlashcard } from '@quasar/quasar-ui-qflashcard'
 
export default {
  components: {
    QFlashcard
  }
}
</script> 

UMD variant

Exports window.QFlashcard.

Add the following tag(s) after the Quasar ones:

<head>
  <!-- AFTER the Quasar stylesheet tags: -->
  <link href="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qflashcard/dist/index.min.css" rel="stylesheet" type="text/css">
</head>
<body>
  <!-- at end of body, AFTER Quasar script(s): -->
  <script src="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qflashcard/dist/index.umd.min.js"></script> 
</body>

If you need the RTL variant of the CSS, then go for the following (instead of the above stylesheet link):

<link href="https://cdn.jsdelivr.net/npm/@quasar/quasar-ui-qflashcard/dist/index.rtl.min.css" rel="stylesheet" type="text/css">

UMD example on Codepen

Building the Projects

Setup

In both the ui and ui/dev folders:

$ yarn

Developing

In the ui folder

# start dev in SPA mode 
$ yarn dev
 
# start dev in UMD mode 
$ yarn dev:umd
 
# start dev in SSR mode 
$ yarn dev:ssr
 
# start dev in Cordova iOS mode 
$ yarn dev:ios
 
# start dev in Cordova Android mode 
$ yarn dev:android
 
# start dev in Electron mode 
$ yarn dev:electron

Building package

$ yarn build

build just the JSON API

$ yarn build:api

Donate

If you appreciate the work that went into this, please consider donating to Quasar or Jeff.

License

MIT (c) Jeff Galbraith jeff@quasar.dev

Install

npm i @quasar/quasar-ui-qflashcard

DownloadsWeekly Downloads

24

Version

1.0.5

License

MIT

Unpacked Size

106 kB

Total Files

20

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar