8668020a54
Typescript published 4.8.2 today and it fails CI, bump our typescript version to 4.8.2 and tweak some typings to make existing e2e typescript tests work properly * Bump web-vitals from 3.0.0-beta to 3.0.0 stable for typing fix (there's an undefined type but it wasn't caught by ts 4.7), also force compiled it as CJS for pre-compiled * Bump ncc to 3.34.0 for ts-loader compatibility for new typescript version, ncc 3.33.x cannot work with ts 4.8 * Update pre-compiled |
||
---|---|---|
.. | ||
packages | ||
.gitignore | ||
package.json | ||
README.md |
Stenciljs example
Deploy your own
Deploy the example using Vercel:
How to use
Execute create-next-app
with Yarn or npx to bootstrap the example:
npx create-next-app --example with-stencil with-stencil-app
yarn create next-app --example with-stencil with-stencil-app
pnpm create next-app --example with-stencil with-stencil-app
Deploy it to the cloud with Vercel (Documentation).
Choose
packages/web-app
as root directory when deploying.
The idea behind the example
Stencil is a compiler that generates Web Components (more specifically, Custom Elements). Stencil combines the best concepts of the most popular frameworks into a simple build-time tool.
In this example we have two workspaces:
- web-app: A Next.js app
- test-component: A stencil components