
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@unplugin-vue-ce/ce-app
Advanced tools
The implementation principle of @unplugin-vue-ce/ce-app
comes from vue-web-component-wrapper
Tips:
@unplugin-vue-ce/ce-app
Seamlessly integrates with Vue ecosystem plugins such as Vuex, Vue Router, and Vue I18n.
npm i @unplugin-vue-ce/ce-app
or
yarn add @unplugin-vue-ce/ce-app
or
pnpm add @unplugin-vue-ce/ce-app
// main.ts
import { defineCustomElement} from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import Entry from './Entry.vue'
import router from './router'
import { createCEApp } from "@unplugin-vue-ce/ce-app";
const app = createCEApp(App)
// use plugin
app.use(createPinia())
app.use(router)
// provide & inject
app.provide('message', 'hello')
// vue-app is web component name
app.mount('vue-app')
const ceEntry = defineCustomElement(Entry)
customElements.define('ce-entry', ceEntry)
<!-- App.vue -->
<template>
<ce-entry></ce-entry>
</template>
<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
</head>
<body>
<div id="app">
<vue-app></vue-app>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
FAQs
Unknown package
We found that @unplugin-vue-ce/ce-app demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.