housfy-ui v0.0.30
housfy-ui
Created by sfc-init
Local development
npm run dev to view /dev/storyboard.vue content
npm run build to "publish" changes to other local projects
Publish
First time: Add npm user to your terminal
- Increase version at package.json
npm run buildnpm publish
View components
Add components to /dev/storyboard.vue, to view them on browser, after npm run dev.
Share components
Add components to /src/index.ts, to share them with other projects.
CSS classes
To prevent class conflicts with other projects, components have prefixed classes like .h-ui-ppp-vvv, where:
h-uistands for housfy-uipppshould be a prop name (likevariantonHousfyButton)vvvshould be a prop value (likesecondaryonHousfyButton)
SVG
SVG files must be replicated on every project using this library.
HousfySvg component takes path & svg props to get svg full path. For example:
<HousfySvg path="assets/svg" svg="icons/search" /> will import svg from @/src/assets/svg/icons/search.svg
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago