diff --git a/sites/website/src/pages/index.jsx b/sites/website/src/pages/index.jsx index 0dfaebe8e06..e5dc9f45ce5 100644 --- a/sites/website/src/pages/index.jsx +++ b/sites/website/src/pages/index.jsx @@ -72,7 +72,7 @@ export default function () {

Install the package

npm install @microsoft/fast-element -

Create a web component

+

Create a web component in the file `hello-world.ts`

{`/* * import utilities from @microsoft/fast-element @@ -106,6 +106,20 @@ HelloWorld.define({ {``} + +

Update your tsconfig.json file to support decorators

+ + {{ + "compilerOptions": { + "experimentalDecorators": true, + "emitDecoratorMetadata": true, + "module": "ESNext", + "moduleResolution": "bundler", + "target": "ES2020", + "useDefineForClassFields": false + } + }} +