kl-stat-test
v0.1.3
Published
Component, showing Statistical Test
Downloads
32
Maintainers
Readme
kl-stat-test
Package install
npm i kl-stat-test
Usage in Vue.js
main.js
import KlStatTest from "kl-stat-test";
import "kl-stat-test/lib/KlStatTest.css";
Vue.use(KlStatTest);
component
<kl-stat-test :id="id" :domain="domain" />
Usage in static HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Test Data</title>
<link rel="stylesheet" type="text/css" href="./style/KlStatTest.css">
</head>
<body>
<div id="stat-test-wrapper"></div>
<script type="text/javascript" src="https://unpkg.com/[email protected]/dist/vue.js"></script>
<script type="text/javascript" src="./js/klStatTest.umd.min.js"></script>
<script>
Vue.use(KlStatTest.default)
var app = new Vue({
el: '#stat-test-wrapper',
data() {
return {
id: 1,
domain: "https://localhost:55559"
}
},
template: '<kl-stat-test :id="id" :domain="domain"/>'
})
</script>
</body>
</html>