Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
vue-design-core
Advanced tools
vue-design-core 要与 (vue-design-build)[https://github.com/vuedesign/vue-design-bulid] 配合使用
vue-design-core 要与 (vue-design-build)[https://github.com/vuedesign/vue-design-bulid] 配合使用
聚成
自动加载
安装
npm install vue-design-core vue-design-build --save
使用
import VueDesign from 'vue-design-core';
/* eslint-disable no-new */
new VueDesign().$mount('#app');
使用 router 中方法
import { router } from 'vue-design-core';
router.push({
name: 'xxx'
});
使用 store 中方法
import { store } from 'vue-design-core';
store.commit('UPDATE', {});
store.dispatch('list', {});
自定义组件入口
import VueDesign, { App } from 'vue-design-core';
/* eslint-disable no-new */
new VueDesign(
render: h => h(App)
).$mount('#app');
获取 { root } src/configs 文件夹中的配置文件
import { config, configs } from 'vue-design-core';
const globals = config('globals.js');
const menu = config('menu.json');
const configsData = configs(['globals.js', 'menu.json']);
FAQs
vue-design-core 要与 (vue-design-build)[https://github.com/vuedesign/vue-design-bulid] 配合使用
The npm package vue-design-core receives a total of 0 weekly downloads. As such, vue-design-core popularity was classified as not popular.
We found that vue-design-core demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.