You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: current version of the Vue CLI boilerplate uses webpack 3.x, and does not integrate with Stylable.
Once the ecosystem moves to webpack 4.x, we can consider a more encompassing integration specifically for Vue.
Getting started
Clone this repository.
yarn
yarn start
Project Structure
This project shows a custom component, CustomizableButton being rendered three times and receiving different customizations for each instance.
Each component defines the bare minimum styling API for itself (see customizable-button.st.css and buttons-container.st.css) while remaining functional.
These are then customized externally from the root component, app (see app.st.css).
It provides a typed CSS experience including auto completions, hinting, diagnostics and more.
Contributing
This has been one of my first (and admittedly lovely) interactions with Vue. We will gladly accept PRs that will bring this project in-line with the community standards for a Vue project. -Tom
About
A basic example of Stylable and Vue working together