
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
changelog
包含
functions 各类工具函数sass 常用全局样式使用注意点
因为是未编译版,因此编译工具需要将 node_modules/@crh/vue 目录设置为可引入编译的目录
/** 这里举例脚本 */
module: {
rules: [
{
test: /\.(js|ts|jsx)?$/,
include: [path.resolve(__dirname, 'node_modules/@crh/vue'), ...],
exclude: [/node_modules/],
use: [
{
loader: 'babel-loader'
}
]
},
]
}
一些组件使用到了样式函数,因此需要引入 sass/var.scss
/** 加入 scss 支持 */
config.module.rules.push({
test: /\.scss$/,
include: path.resolve(__dirname, '../packages'),
use: [
'style-loader',
{
loader: 'css-loader',
options: {
importLoaders: 2
}
},
{
loader: 'postcss-loader'
},
{
loader: 'sass-loader',
options: {
data: `
@import "~@crh/vue/sass/var.scss";
`
}
}
]
});
FAQs
vue 公共组件 mjs版本(未编译)
We found that @crh/vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.