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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@yeerlo/nuxt

v1.0.8

Published

Yeerlo's official Nuxt module

Downloads

27

Readme

Yeerlo

npm version npm downloads License

Integrate the Yeerlo client library in your nuxt project to start displaying events on your web apps.

Previews

Features

  • ⛰  Embed your events
  • 🚠  Choose your prefered display formats
  • 🌲  Lets users attend and book tickets directly in your web apps without any form of redirection
  • 👩‍🎨  Responsive & mobile friendly UI
  • 🖌️  Customizable color scheme

Quick Setup

  1. Add @yeerlo/nuxt dependency to your project
# Using pnpm
pnpm add @yeerlo/nuxt

# Using yarn
yarn add @yeerlo/nuxt

# Using npm
npm install @yeerlo/nuxt
  1. Add @yeerlo/nuxt to the modules section of nuxt.config.ts and setup the runtimeConfig as shown below:
export default defineNuxtConfig({
  ssr: true, // "true" or "false". Works eitherway regardless. i.e Yeerlo Nuxt is SSR friendly!
  modules: [
    '@yeerlo/nuxt'
  ],
  runtimeConfig:{
    public:{
      yeerlo: {
        // 5 EVENT DISPLAY MODES (only enable one of the modes below)

        creatorId: '2bbegYWBgx...', // display events of a particular creator
        // creatorIds: ['2bbegYWBgx...'], // display events of specific creators. max. of 10 ids
        // random: true, // display random events, from the visitor's location/country, from any creator (the default mode when none of the other modes are set)
        // categorySlug: 'charity-and-aid', // display events in a particular category, using the category slug and the visitor's country
        // countryName: 'Ghana', // "US", "GB", "Canada" etc. display events in a particular country

        // END 5 EVENT DISPLAY MODES

        layoutMode: "events", // one of "events" | "cinemas" and "meetings" are coming soon
        displayFormat: "default", // one of "default", "simple" | "masonry" and "boxed" are coming soon
        limit: 0, // (Optional) total number of events you want to display.
        alwaysUseUpToDateVersions: false // (Optional) To always use the updated versions of the library, set this property to `true`. Doing this bypasses our caching strategies to deliver you with updated versions of the library.
      },
    }
  },
})

Usage

Using the component is very simple; an example is shown below:

<template>
  <div>
    <NuxtYeerlo/>
  </div>
</template>

That's it! You can now use Yeerlo in your Nuxt app ✨

Color Scheme

*{
  --y-white: #fff;
  --y-black: #000;
  --y-black-b: #0000;
  --y-base-color-light: #ff9900;
  --y-base-color-dark: #f37e01;
  --y-base-color-dark-hover: #f6682f;
  --y-ended: #9c27b0;
  --y-text-gray: #888;
  --y-text-gray-dark: #565656;
  --y-hr: #e2e5e7;
  --y-description: #7c828c;
  --y-order-bg: #f6f6f6;
  --y-discount-code-border: #ddd;
  --y-card-loading-gradient-1: #ececec;
  --y-card-loading-gradient-2: #f5f5f5;
  --y-reg-input-bottom: #eee;
  --y-spinner-loader-overlay: #ff980075;
  --y-input-label: #8597a3;
  --y-toast-danger: #ff1403;
  --y-toast-success: #009688;
  --y-toast-message-1: #666666;
  --y-toast-message-2: #333;
  --y-shadow: rgba(0, 0, 0, 0.1);
  --y-shadow-1: rgba(0, 0, 0, .05);
  --y-shadow-2: rgba(0, 0, 0, .15);
  --y-modal-overlay: rgba(0, 0, 0, 0.6);
  --y-ticket-quantity-select-border: rgb(225, 231, 231);
  --y-card-loader-shadow: rgba(0, 0, 0, 0.05);
  --y-simple-layout-bg: #121212;
  --y-simple-layout-date-color: #f9b234;
  --y-countdown-bg: rgba(255,255,255,0.5);
  --y-countdown-border: rgba(255,255,255,0.25);
  --y-white-smoke: #f5f5f5;
  --y-white-smoke-text: #a2a5b9;
}