
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
cosmic-vue
Advanced tools
Cosmic-vue is a implementation of cosmic, which is a meta component framework.
Cosmic-vue is a implementation of cosmic, which is a meta component framework.
π§ing...welcome to contribute!
You should set resolve.alias
option in your vite.config.js or other build config, such as:
// vite.config.js
{
resolve: {
alias: {
'cosmic-ui': 'cosmic-ui-alpha', // default ui of cosmic
// 'cosmic-ui': resolve('../local-ui-folder'),
}
}
}
Default Cosmic UI packages provides the following:
.
βββ dist
β βββ style.css # CSS of all components
β βββ variables.css # Design Tokens
β βββ utilities.css # Default utilities class
β βββ ui.css # Bundle CSS = style.css + variables.css + utilities.css
β βββ index.es.js # exports of all css modules in es module
β βββ index.umd.js # exports of all css modules in umd
βββ ...
Generally, you should import ui.css
in your project.
If you need to decide some design token yourself, you can import them separately:
@import 'cosmic-ui/style.css';
@import 'cosmic-ui/utilities.css';
@import './your-variables.css';
It is not necessary to import utilities.css
if using utility-first CSS framework (Windi Css / Tailwind CSS) in your project.
<script>
import { button, buttonRouned } from 'cosmic-ui';
import { buttonCustomed } from './button-customed.css';
</script>
<template>
<Button />
<Button :styles="button" />
<Button :styles="buttonRouned" />
<Button :styles="buttonCustomed" />
<template>
FAQs
Cosmic-vue is a implementation of cosmic, which is a meta component framework.
We found that cosmic-vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 7 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last weekβs supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.