All Projects → dutscher → stencil-storybook

dutscher / stencil-storybook

Licence: MIT License
Storybook meets Stencil in 2021

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
HTML
75241 projects

Projects that are alternatives of or similar to stencil-storybook

react-ui-kit-boilerplate
A minimal React UI Kit boilerplate with Storybook, hot reloading, Styled Components, Typescript and Jest
Stars: ✭ 88 (+33.33%)
Mutual labels:  hmr, storybook
elements
Lovingly crafted ui components based on web components. Works well with all Frameworks - including Angular, React and Vue.
Stars: ✭ 42 (-36.36%)
Mutual labels:  stencil, storybook
stencil-realworld-app
An example SPA written with Stencil
Stars: ✭ 56 (-15.15%)
Mutual labels:  stencil
node-weixin-api
💬node微信公众号开发
Stars: ✭ 78 (+18.18%)
Mutual labels:  hmr
weather-styled-icon
⛅️☀️🌧🌨in ⚛️
Stars: ✭ 23 (-65.15%)
Mutual labels:  storybook
storybook-styled-components
No description or website provided.
Stars: ✭ 76 (+15.15%)
Mutual labels:  storybook
killer-storybook-config
A killer Storybook Webpack config to help you bootstrap a great storybook config ASAP. It includes a React Frontend, GraphQL compatibility for Storybook, TypeScript, Babel, and ESlint.
Stars: ✭ 32 (-51.52%)
Mutual labels:  storybook
storybook-addon-matrix
Storybook addon for rendering components with a matrix of props
Stars: ✭ 32 (-51.52%)
Mutual labels:  storybook
vuetibook
Integrating Vue.js, Vuetify and Storybook
Stars: ✭ 16 (-75.76%)
Mutual labels:  storybook
visa-chart-components
Visa Chart Components (VCC) is an accessibility focused, framework agnostic set of data experience design systems components for the web. VCC attempts to provide a toolset to enable developers to build equal data experiences for everyone, everywhere.
Stars: ✭ 81 (+22.73%)
Mutual labels:  stencil
minimal-webpack-nodejs-hmr
Webpack Backend HMR Demo
Stars: ✭ 65 (-1.52%)
Mutual labels:  hmr
chic-ui
Lightweight CSS-in-JS styled UI Component Library for React
Stars: ✭ 39 (-40.91%)
Mutual labels:  storybook
learn-react-typescript
Learning React contents with TypeScript (Hooks, Redux)
Stars: ✭ 15 (-77.27%)
Mutual labels:  storybook
storybook-addon-intl
Addon to provide a locale switcher and react-intl for storybook
Stars: ✭ 84 (+27.27%)
Mutual labels:  storybook
ionic-custom-components
🌈 Ionic Tutorial: Mastering Web Components in Ionic Framework. This repo is an Ionic project showcasing Angular custom components and Stencil custom web components.
Stars: ✭ 30 (-54.55%)
Mutual labels:  stencil
reboost
A super fast dev server for rapid web development
Stars: ✭ 59 (-10.61%)
Mutual labels:  hmr
ra-ra
A C++20 array / expression template library with some J/APL features
Stars: ✭ 22 (-66.67%)
Mutual labels:  stencil
nft-market
NFT Marketplace prototype using Typescript, WalletConnect, Metamask, Web3, Solidity, React and Storybook
Stars: ✭ 385 (+483.33%)
Mutual labels:  storybook
vuetify-component-lib-template
Template for creating a component library/design system using Vue.js and Vuetify.js.
Stars: ✭ 35 (-46.97%)
Mutual labels:  storybook
pdf-viewer
PDF viewer web component built in StencilJS. Reusable in Angular, Ionic, React, Vue.JS, etc.
Stars: ✭ 65 (-1.52%)
Mutual labels:  stencil

Built With Stencil

Stencil 2.5.2 + Storybook 6.2.9 + Real Stencil HMR*

DEMO Storybook on gh-pages | *hot module reloading

This is a starter project for building components with Stencil in Storybook. This sample includes Real HMR in Storybook, with the Stencil build running in watch mode. Storybook only knows the stories, markup of stencil and entry point.

Aswell its chromatic tested, this means visiual regression testing of your stories.

Thanks to stencil storybook starters bjankord, elwynelwyn
And shoelace where i got the proxy hmr solution.

And maybe this issue can be closed?

✔️ NodeJS 14.13.1 ready (use nvm!)
✔️ Stencil 2 ready, not yet es5 tested but should work! + BEM and REM utils
✔️ Storybook 6+ WebComponents ready
✔️ Real HMR on development with Stencil Dev Server, this keep storybooks state of controls
✔️ chromatic.com visiual regression testing ready
✔️ Tested on Windows 10 and Mac 10.15.6
✔️ Bootstrap reset and Webfonts boilerplate included

How the HMR works

Stencil has an included /~dev-server which can out of the box HMR. So we start storybook with webpack and stencil dev mode with rollup. On the top we have a proxy which include the /~dev-server of stencil into the storybook canvas iframe.html Et voilà, this is what we want!

When you have issues, please let me know!

Use my issues section

Start to develop

npm install
npm start
your storybook will run under: http://localhost:3000

Build your production

npm build

Test your Stencil

npm test
npm test -t special.spec.ts

That's it!
Cheers dutscher

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].