Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@byjohann/ui

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@byjohann/ui

A collection of Vue.js components for my projects

  • 0.3.5
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@byjohann/ui

NPM version

A collection of Vue.js components for my projects.

Setup

# pnpm
pnpm add @byjohann/ui

# npm
npm i @byjohann/ui

# yarn
yarn add @byjohann/ui

Nuxt Usage

Nuxt is supported out of the box, but the Vue components provided by this library need to be transpiled for the server-side rendering to work. Add the following to your nuxt.config.ts:

export default defineNuxtConfig({
  imports: {
    presets: [
      {
        from: "@byjohann/ui",
        imports: ["useModals"],
      },
    ],
  },

  build: {
    // Transpile the Vue.js components
    transpile: ["@byjohann/ui"],
  },

  vite: {
    optimizeDeps: {
      // Transform CJS packages to ESM
      include: ["mapbox-gl"],
    },
  },
});

License

MIT License © 2023-PRESENT Johann Schopplich

FAQs

Package last updated on 25 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc