Add typescript doc

pull/12/head
cagataycivici 2019-05-30 16:45:06 +03:00
parent 644fa3e90d
commit 4b7d82ddfd
1 changed files with 8 additions and 2 deletions

View File

@ -41,8 +41,11 @@ Vue.component('Dialog', Dialog);
<CodeHighlight> <CodeHighlight>
&lt;meta charset="utf-8"&gt; &lt;meta charset="utf-8"&gt;
&lt;title&gt;calendar demo&lt;/title&gt; &lt;title&gt;calendar demo&lt;/title&gt;
&lt;link href="https://unpkg.com/primevue/resources/themes/nova-light/theme.css " rel="stylesheet"&gt;
&lt;link href="https://unpkg.com/primevue/resources/primevue.min.css " rel="stylesheet"&gt;
&lt;link href="https://unpkg.com/primeicons/primeicons.css " rel="stylesheet"&gt;
&lt;script src="https://unpkg.com/vue"&gt;&lt;/script&gt; &lt;script src="https://unpkg.com/vue"&gt;&lt;/script&gt;
&lt;script src="https://unpkg.com/primevue/components/calendar/calendar.umd.js"&gt;&lt;/script&gt; &lt;script src="https://unpkg.com/primevue/components/calendar/calendar.umd.min.js"&gt;&lt;/script&gt;
&lt;div id="app"&gt; &lt;div id="app"&gt;
&lt;p-calendar&gt;&lt;/p-calendar&gt; &lt;p-calendar&gt;&lt;/p-calendar&gt;
@ -111,7 +114,10 @@ primeicons/primeicons.css //icons
</CodeHighlight> </CodeHighlight>
<h3>Quickstart</h3> <h3>Quickstart</h3>
<p>An example application based on vue-cli is available at <a href="https://github.com/primefaces/primevue-quickstart">github</a>.</p> <p>An <a href="https://github.com/primefaces/primevue-quickstart">example application</a> based on vue-cli is available at github.</p>
<h3>Typescript</h3>
<p>Typescript is fully supported as type definition files are provided in the npm package of PrimeVue. A sample <a href="https://github.com/primefaces/primevue-typescript-quickstart">typescript-primevue</a> application is available as well at github.</p>
</div> </div>
</div> </div>