Skip to content

Commit ed9e833

Browse files
committed
docs: add warning inro define
1 parent d6a3063 commit ed9e833

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/.vitepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default defineConfig({
2929
'/': [
3030
{
3131
text: 'Getting Started', items: [{
32-
text: 'Introduction',
32+
text: 'What is Jwc?',
3333
link: '/guide/what-is-jwc',
3434
}, {
3535
text: 'Quick Start',

docs/components/defining.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ export class App extends JwcComponent {
6464
/* ... */
6565
```
6666

67+
::: warning
68+
Although you can define a component without using the `@JwcComponent` decorator, it is not recommended. We won't use that in our documentation.
69+
:::
70+
6771

6872
## Function Based <Badge text="Not yet implemented" type="danger"/>
6973

0 commit comments

Comments
 (0)