Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@zafir.co.ao/lightray
Advanced tools
Lightray is a Vue component library designed for seamlessly managing content in the Antbox ECM server. With four meticulously crafted components, Lightray streamlines interactions with Antbox, making your development faster and more intuitive. Whether you
Readme
Lightray is a Vue component library designed for seamlessly managing content in the Antbox ECM server. With four meticulously crafted components, Lightray streamlines interactions with Antbox, making your development faster and more intuitive. Whether you're integrating a single component or utilizing the entire plugin, Lightray is here to illuminate the path for you.
Installing Lightray is a breeze, simply run the following command:
npm install @zafir.co.ao/lightray
To use Lightray in your Vue project, first, install the package:
npm install @zafir.co.ao/lightray
Next, add the following line to your src/main.ts:
import "@zafir.co.ao/lightray/style.css";
Import the desired component or the entire plugin.
For importing specific components into your Single File Components (SFC):
<!-- Inside your .vue file-->
<script lang="ts" setup>
import { LrHelloLight } from "@zafir.co.ao/lightray";
</script>
<template>
<LrHelloLight />
</template>
For a more holistic approach, where you'd like to use all of Lightray's offerings, you can integrate it as a plugin:
// main.ts
import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import { LightrayPlugin } from "@zafir.co.ao/lightray";
import "@zafir.co.ao/lightray/style.css";
createApp(App).use(LightrayPlugin).mount("#app");
The LrDiscovery
component serves as an interface to the Antbox ECM server.
Property | Type | Required | Default | Description |
---|---|---|---|---|
antboxUrl | String | Yes | - | URL for the Antbox server. |
token | String | No | - | Authentication token for Antbox. |
tenant | String | No | - | Specifies the tenant in a multi-tenant Antbox. |
The LrWebContent
component is designed to display and optionally allow the edition of web content based on the provided language.
Property | Type | Required | Default | Description |
---|---|---|---|---|
lang | Language | Yes | - | Language of the displayed web content. |
webContent | WebContent | No | - | Object representing the web content to be displayed. |
editionAllowed | Boolean | No | false | Determines if the web content can be edited. |
onEdit | Function | No | - | Callback when the content is edited. |
Events:
edit
: Emitted when the web content is edited.The LrHelloLight
component is a simple greeting component.
(This component does not have any properties.)
To configure your project as a PWA, follow the steps at Vite PWA.
FAQs
Lightray is a Vue component library designed for seamlessly managing content in the Antbox ECM server. With four meticulously crafted components, Lightray streamlines interactions with Antbox, making your development faster and more intuitive. Whether you
The npm package @zafir.co.ao/lightray receives a total of 0 weekly downloads. As such, @zafir.co.ao/lightray popularity was classified as not popular.
We found that @zafir.co.ao/lightray demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.