
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@numum/shared-components
Advanced tools
A collection of Vue 3 components with theme support
npm install @numum/shared-components
import { createApp } from 'vue'
import { createNumum } from '@numum/shared-components'
import { setConfig } from '@numum/shared-components';
import '@numum/shared-components/styles'
const app = createApp(App)
// Set suffix for images
setConfig({
imageSuffix: 'mobile'
});
createNumum(app, {
theme: 'veloxa' // or 'rapides'
})
app.mount('#app')
Veloxa theme is used by default. To use Rapides theme:
// Import base styles
import '@numum/shared-components/styles'
// Import Rapides theme
import '@numum/shared-components/styles/themes/_rapides.scss'
Basic button component with various style options
<template>
<ButtonComponent type="rounded">Click me</ButtonComponent>
</template>
<script setup>
import { ButtonComponent } from '@numum/shared-components'
</script>
Hook for working with themed images
import { useImage } from '@numum/shared-components'
const { getImageUrl } = useImage()
const imageUrl = getImageUrl('my-image.jpg')
Main theme with blue color scheme:
Alternative theme with green color scheme:
For local development:
# In library directory
npm link
# In your project
npm link @numum/shared-components
npm run build
MIT
FAQs
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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.