import { Test } from "./components/test/test";
import { component } from 'knockout-decorators';
@component("app", `
<div id="app">
<test></test>
</div>
`)
export class App {
constructor() {
new Test();
}
}
It's work.
But, if i wanna give some params to test component, how can i do that;
and more 'test' compoent instance with diffrient params in that page?