Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

casper-ui

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

casper-ui

A set of vuejs components - using tailwind ui

Source
npmnpm
Version
1.0.5
Version published
Weekly downloads
11
450%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

Add this to your package.json:

"casper-ui": "git+ssh://git@github.com:casper/ui.git#v[REPLACE_WITH_LATEST_VERSION]",

Usage

Vuejs Components

You can register all components from the library automatically with this one liner:

import {filters, directives, registerToastPlugin, registerModalPlugin, registerDialogPlugin} from 'casper-ui'

// Register filters// Filters
vueApp.config.globalProperties.$filters = filters

// Directives
directives(vueApp)

// Emitter
const emitter = mitt()
vueApp.config.globalProperties.emitter = emitter

// Toast
registerToastPlugin(vueApp)

// Dialog
registerDialogPlugin(vueApp)

registerModalPlugin(vueApp)

CSS Styles

Import the scss file in your main scss

@import 'casper-ui/casper-ui.css';

// your own styles after

FAQs

Package last updated on 31 Aug 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