This repository tests web components built with different web frameworks.
This turborepo uses pnpm as a package manager. It includes the following packages/apps:
astro
: an Astro appreact
: a React.js appvue
: a Vue.js appeslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)lit-ui
: a Lit library containing test componentssolid-ui
: a Solid.js library containing test componentssvelte-ui
: a Svelte.js library containing test componentstsconfig
: used throughout the monorepo
TODO: Add Stencil.js and Element.js - https://github.com/webtides/element-js/blob/main/docs/README.md
Each package/app is 100% TypeScript. Packages were created Vite. Runs and build use Vite as the development environment.
This repository has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
- UnoCSS for CSS. UnoCSS is an on-demand Atomic CSS engine. It supports all Tailwind styling but 10x faster, smaller and more powerful.
Install dependencies
pnpm install
To build all apps and packages, run the following command:
pnpm build
To develop all apps and packages, run the following command:
pnpm dev