Socket
Book a DemoInstallSign in
Socket

@officient/vue-components

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@officient/vue-components

Shared Vue components for Officient

2.2.1
latest
npmnpm
Version published
Maintainers
2
Created
Source

vue-components

Shared Vue components for Officient.

Installation

npm i --save github:Officient/vue-components#v1.0.0
Replace v1.0.0 with the current version.

Usage

// Importing a component:
import AvatarImage from 'officient-vue-components/lib/components/AvatarImage.vue'

// importing utils
import daysOffTransformer from officient-vue-components/lib/utils/transformers/daysOff

Development

Component and utils source code goes into /src. To allow it to be used externally, you need to also add it to the /lib folder.

  • /src: source code:
  • /lib: public library for usage by other repo's
  • /dev/pages: examples of usage for our components
  • /tests: unit tests

SCSS

Import the CSS in your Vue file in the script section.

Release

Increment the version in package.json and create a release from the latest commit.
Releases can be created in the releases tab on top.

The projects using this package require an update to the version tag.
E.g. "officient-vue-components": "github:Officient/vue-components#v1.0.1",
Run npm install after updating the version number to grab the latest version.

FAQs

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.