Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
intact-vue
Advanced tools
A compatibility layer for running Intact component in Vue-Next.
import {createApp} from 'vue';
import {Component} from 'intact-vue';
class IntactComponent extends Component {
static template = `
<button ev-click={this.onClick.bind(this)}>
click {this.get('value')}
</button>
`;
onClick() {
this.set('value', this.get('value') + 1);
this.trigger('click');
}
}
const container = document.createElement('div');
document.body.appendChild(container);
createApp({
data: {
count: 0,
},
template: `<div>
<IntactComponent @click="onClick" v-model="count"/>
<div>count: {{ count }}</div>
</div>`,
methods: {
onClick() {
console.log(this.count);
}
},
components: {IntactComponent}
}).mount(container);
You can use alias config of webpack to replace intact module.
resolve: {
alias: {
'intact$': 'intact-vue'
}
}
.native
modifier is not supported. For example:
// native modifier
<IntactComponent @click.native="onClick" />
Multiple values style is not supported.
FAQs
A compatibility layer for running intact component in vue2.0
The npm package intact-vue receives a total of 47 weekly downloads. As such, intact-vue popularity was classified as not popular.
We found that intact-vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.