kl-rule-result
v0.1.4
Published
Component, showing RuleResult
Downloads
18
Readme
kl-rule-result
Package install
npm i kl-rule-result
Usage in Vue.js
main.js
import KlRuleResult from "kl-rule-result";
import "kl-rule-result/lib/KlRuleResult.css";
Vue.use(KlRuleResult);
component
<kl-rule-result :id="id" :domain="domain" />
Usage in static HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="./klRuleResult.css">
</head>
<body>
<div id="container"></div>
<script type="text/javascript" src="https://unpkg.com/[email protected]/dist/vue.js"></script>
<script type="text/javascript" src="./klRuleResult.umd.js"></script>
<script>
Vue.use(klRuleResult)
var app = new Vue({
el: '#container',
data() {
return {
id: 9,
domain: "https://localhost:55559"
};
},
template: '<kl-rule-result :id="id" :domain="domain" />'
})
</script>
</body>
</html>