Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
stencil-vue2-output-target
Advanced tools
This project was forked from Stencils Vue Output targets in an effort to fully support Vue 2 for components built with @stencil/core
npm install -D stencil-vue2-output-target
# OR
yarn add -D stencil-vue2-output-target
import { Config } from "@stencil/core";
import { vueOutputTarget } from "stencil-vue2-output-target";
export const config: Config = {
namespace: "demo",
outputTargets: [
vueOutputTarget({
componentCorePackage: "component-library",
proxiesFile: "../component-library-vue/src/components.ts",
componentModels: vueComponentModels,
}),
{
type: "dist",
},
],
};
This is the NPM package name of your core stencil package. In the case of Ionic we chose ‘@ionic/core’. This is the package that gets published that contains just your web components. This package is then used by the Vue package as a dependency
This is the output file that gets generated by the outputTarget. This file should be referencing a different package location. In the example case we are choosing a sibling directory’s src directory. We will then create a Vue package that exports all components defined in this file.
There is an example component library package available on Github so that you can get started. This repo will likely live as a sibling to your Stencil component library.
import { DemoComponent } from "component-library-vue";
FAQs
Vue2 output target for @stencil/core components.
The npm package stencil-vue2-output-target receives a total of 5 weekly downloads. As such, stencil-vue2-output-target popularity was classified as not popular.
We found that stencil-vue2-output-target 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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.