npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@revolugo/elements-vue2

v5.23.3

Published

Revolugo Elements UI library - Vue 2 Wrapper

Downloads

2,342

Readme

Revolugo Elements Vue2

@revolugo/elements-vue2 provides a set of Vue.js 2 components wrapping the Official Revolugo Elements.

Detailed documentation can be found at https://elements-vue2.revolugo.com/vue.

Build your pixel-perfect accommodation booking experience

Revolugo Elements is a complete and ready-to-use library of UI components providing everything you need to build a seamless accommodation booking experience for your customers. It brings together industry state-of-the-art building blocks to integrate accommodation products in your ticket selling/registering funnel .

Revolugo Elements Components are tightly connected to Revolugo Booking API.

Revolugo Booking API is the official RESTful API from Revolugo exposing all the necessary endpoints in order to perform each step required to make a complete accommodation booking flow based on Revolugo large accommodation inventory anywhere in the world, from price/availability checking to booking confirmation.

We strongly encourage users of Revolugo Elements to read the Revolugo Booking API documentation in order to have a deeper understanding of Revolugo booking flow : https://booking-api.revolugo.com/v1/documentation which we are going to discuss further in this documentation, within the scope of the use of Revolugo Elements library.

Getting Started

Installation

Using NPM:

  npm install -S @revolugo/elements-vue2

Using Yarn:

  yarn add -S @revolugo/elements-vue2

Using PNPM:

  pnpm add -P @revolugo/elements-vue2

Basic Usage

You need a set of Publishable/Secret API Keys credentials. Reach out to us to get one: [email protected]

Configure Vue to use the Components

Initialize the plugin in your main.js:

import Vue from 'vue'
import RevolugoElementsPlugin from '@revolugo/elements-vue2'
import App from './App.vue'

const pluginConfigurationOptions = {
  apiEnvironment: 'LIVE',
  apiKey: [YOUR_API_KEY],
  currency: 'EUR',
  installComponents: false,
  lang: 'fr-FR',
  theme: { primary: '#009688' },
}

Vue.use(RevolugoElementsPlugin, pluginConfigurationOptions)

new Vue({
  render(h) {
    return h(App)
  },
}).$mount('#app')

Use it anywhere in your components

<template>
  <revolugo-vue-hotel-offer-list
    address=""
    :adult-count="1"
    check-in-date="2024-03-22"
    check-out-date="2024-03-24"
    latitude="48.8508305"
    longitude="2.2844643"
    room-count="1"
    source-market="FR"
  />
</template>

<script>
  import { RevolugoVueHotelOfferList } from '@revolugo/elements-vue2'

  export default {
    name: 'App',
    components: {
      RevolugoVueHotelOfferList,
    },
  }
</script>

Plugin Configuration options

| Name | Type | Requirement | Default | Description | | ------------------------------ | ------- | ------------ | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | apiEnvironment | string | Optional | LIVE | The Revolugo environment to use. Valid values: LIVE, SANDBOX | | apiKey | string | Required | undefined | Your Revolugo Publishable API Key. 🛑 Make sure to put your Publishable API key here. Do not put your Secret API key, it would be exposed publicly. Secret API key is supposed to be used exclusively for server-side calls. | | currency | string | Required | undefined | The currency you need to display prices in. | | installComponents | boolean | Required | false | If you want to manually install components, e.g. import { RevolugoVueHotelOfferList } from '@revolugo/elements-vue2' Vue.component('RevolugoVueHotelOfferList', RevolugoVueHotelOfferList) then set installComponents to 'false'. If you want to automatically install all the components this property must be set to 'true' | | lang | string | Optional | en-US | The language used in components. Valid values: en-US, fr-FR | | theme | object | Optional | { primary: '#007fff',secondary: '#64B5F6',success: '#4CAF50'} | Color theme for the components. All keys are optional |