Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Popular, beautiful and fast UnoCSS component library.
🧑💻 Document Beta | 🤹♂️ Preview
npm i onu-ui
npm i unocss -D
Add onu-ui
in your main entry file.
// main.ts
import OnuUI from 'onu-ui'
import 'uno.css'
import 'onu-ui/dist/style.css'
createApp(App).use(OnuUI).mount('#app')
Custom your UnoCSS config:
// uno.config.ts
import { defineConfig, presetAttributify, presetUno } from 'unocss'
import { presetOnu } from 'onu-ui'
export default defineConfig({
presets: [
// ...
presetUno(),
presetAttributify(),
presetOnu(),
],
})
You need to use an additional plugin to import components you used. First you need to install unplugin-vue-components and unplugin-auto-import.
npm install -D unplugin-vue-components unplugin-auto-import
Then add the code below into your Vite config file.
// vite.config.ts
import { defineConfig } from 'vite'
import AutoImport from 'unplugin-auto-import/vite'
import Components from 'unplugin-vue-components/vite'
import { OnuResolver } from 'onu-ui'
export default defineConfig({
// ...
plugins: [
// ...
AutoImport({
resolvers: [OnuResolver()],
}),
Components({
resolvers: [OnuResolver()],
}),
],
})
You can try OnuUI out with the components built-in playground.
Developers interested in contributing should read the Code of Conduct and the Contributing Guide.
Thanks to everyone who has already contributed to OnuUI!
Since OnuUI
is under intensive development, we need your valuable comments and feature requirements of the component
Welcome to contact us at Discussions or Issues, we will be more than happy to reply to your message.
FAQs
Onu UI Vue Components
The npm package onu-ui receives a total of 156 weekly downloads. As such, onu-ui popularity was classified as not popular.
We found that onu-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.