@quasar/quasar-ui-qribbon
QRibbon - Quasar component
Last updated 8 months ago by webnoob .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @quasar/quasar-ui-qribbon 
SYNC missed versions from official npm registry.

Component QRibbon

npm npm

Component QRibbon

Short description of the component

Usage

Quasar CLI project

Install the App Extension.

OR:

Create and register a boot file:

import Vue from 'vue'
import { QRibbon } from '@quasar/quasar-ui-qribbon'
import '@quasar/quasar-ui-qribbon/dist/index.css'

Vue.use(Plugin)

OR:

<style src="quasar-ui-qribbon/dist/index.css"></style>

<script>
import { QRibbon } from 'quasar-ui-qribbon'

export default {
  components: {
    QRibbon
  }
}
</script>

Vue CLI project

import Vue from 'vue'
import { QRibbon } from '@quasar/quasar-ui-qribbon'
import '@quasar/quasar-ui-qribbon/dist/index.css'

Vue.use(Plugin)

OR:

<style src="quasar-ui-qribbon/dist/index.css"></style>

<script>
import { QRibbon } from 'quasar-ui-qribbon'

export default {
  components: {
    QRibbon
  }
}
</script>

UMD variant

Exports window.QRibbon.

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

<head>
  <!-- AFTER the Quasar stylesheet tags: -->
  <link href="https://cdn.jsdelivr.net/npm/quasar-ui-qribbon/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-ui-qribbon/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-ui-qribbon/dist/index.rtl.min.css" rel="stylesheet" type="text/css">

Setup

$ yarn

Developing

# 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

Donate

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

License

MIT (c) Allan Gaunt allan@quasar.dev

Current Tags

  • 1.0.0-beta.14                                ...           latest (8 months ago)

6 Versions

  • 1.0.0-beta.14                                ...           8 months ago
  • 1.0.0-beta.13                                ...           8 months ago
  • 1.0.0-beta.12                                ...           8 months ago
  • 1.0.0-beta.11                                ...           8 months ago
  • 1.0.0-beta.10                                ...           8 months ago
  • 1.0.0-beta.9                                ...           8 months ago
Downloads
Today 0
This Week 3
This Month 5
Last Day 2
Last Week 2
Last Month 1
Dependencies (1)
Dev Dependencies (21)

Copyright 2014 - 2016 © taobao.org |