GithubHelp home page GithubHelp logo

shaunevening / vue3-vuetify-storybook-recipe-example Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 4.0 443 KB

An example of how to get Vuetify working for Vue 3 in storybook

JavaScript 42.52% HTML 2.72% Vue 41.04% CSS 13.72%

vue3-vuetify-storybook-recipe-example's Introduction

default

Project setup

# yarn
yarn

# npm
npm install

# pnpm
pnpm install

Compiles and hot-reloads for development

# yarn
yarn dev

# npm
npm run dev

# pnpm
pnpm dev

Compiles and minifies for production

# yarn
yarn build

# npm
npm run build

# pnpm
pnpm build

Customize configuration

See Configuration Reference.

vue3-vuetify-storybook-recipe-example's People

Contributors

paulhellings avatar shaunevening avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vue3-vuetify-storybook-recipe-example's Issues

Controls addon not working with the 'withVuetifyTheme' decorator

First of all thanks for this recipe, I followed the instructions from this link: https://storybook.js.org/recipes/vuetify.

I noticed there a few improvements possible and will cover the most important one here:

The control add-on is not working when using the decorator. I think the 'binding' is lost somewhere with the render function used in the decorator. I rewrote it with a template string instead, which seems to solve the issue. I only used the v-app component here together with a d-flex div, so structural choices can be made in stories. I'll add a PR with my code.

Note: I am pretty new with storybook, so if I am completely missing something in the original recipe I'd love to hear it ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.