Use v-money component or directive



  • I use components in my quasar.conf.js all is ok but i know no how to add v-money component or directive in my quasar.conf.js i want to use this according the official docs

    Using third party mask processors docs

    my framework object in my quasar.conf.js

        // https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-framework
        framework: {
          // iconSet: 'ionicons-v4', // Quasar icon set
          // lang: 'de', // Quasar language pack
    
          // Possible values for "all":
          // * 'auto' - Auto-import needed Quasar components & directives
          //            (slightly higher compile time; next to minimum bundle size; most convenient)
          // * false  - Manually specify what to import
          //            (fastest compile time; minimum bundle size; most tedious)
          // * true   - Import everything from Quasar
          //            (not treeshaking Quasar; biggest bundle size; convenient)
          components: [
            'QLayout',
            'QPageContainer',
            'QPage',
            'QHeader',
            'QFooter',
            'QDrawer',
            'QPageSticky',
            'QPageScroller',
            'QInput',
            'QCard',
            'QCardSection',
            'QCardActions',
            'QBtn',
            'QForm',
            'QIcon',
            'QCheckbox',
            'QStepper',
            'QStep',
            'QStepperNavigation',
            'QSelect',
            'QDialog',
            'QToolbar',
            'QToolbarTitle',
            'QScrollArea',
            'QList',
            'QItem',
            'QItemSection',
            'QItemLabel',
            'QImg',
            'QAvatar',
            'QCarousel',
            'QCarouselControl',
            'QCarouselSlide',
            'QSpace',
            'QMenu',
            'QToggle',
            'QSeparator',
            'QChip',
            'QTable',
            'QTh',
            'QTr',
            'QTd',
            'QDate',
            'QPopupProxy'
          ],
          directives: ['ClosePopup', 'Ripple', 'ClosePopup'],
          iconSet: 'fontawesome-v5',
    
          // Quasar plugins
          plugins: ['Notify']
        },
    


  • @itslab3rt the framework object in quasar.conf.js is for quasar.see v-money’s docs on how to install their directive, then to use it in quasar you initiate it ideally in a boot file https://quasar.dev/quasar-cli/cli-documentation/boot-files#Introduction.



  • @metalsadman I think I misunderstood this section of the documentation, I thought quasar already included. Thanks


Log in to reply