@storybook/vue3-webpack5 8.0.0 → 8.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -42
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,44 +1,3 @@
1
1
  # Storybook for Vue 3 and Webpack
2
2
 
3
- Storybook for Vue 3 is a UI development environment for your Vue 3 components.
4
- With it, you can visualize different states of your UI components and develop them interactively.
5
-
6
- ![Storybook Screenshot](https://github.com/storybookjs/storybook/blob/main/media/storybook-intro.gif)
7
-
8
- Storybook runs outside of your app.
9
- So you can develop UI components in isolation without worrying about app specific dependencies and requirements.
10
-
11
- ## Getting Started
12
-
13
- ```sh
14
- cd my-vue3-app
15
- npx storybook@latest init
16
- ```
17
-
18
- For more information visit: [storybook.js.org](https://storybook.js.org)
19
-
20
- ---
21
-
22
- Storybook also comes with a lot of [addons](https://storybook.js.org/addons) and a great API to customize as you wish.
23
- You can also build a [static version](https://storybook.js.org/docs/sharing/publish-storybook) of your Storybook and deploy it anywhere you want.
24
-
25
- ## Extending the Vue application
26
-
27
- Storybook creates a [Vue 3 application](https://vuejs.org/api/application.html#application-api) for your component preview.
28
- When using global custom components (`app.component`), directives (`app.directive`), extensions (`app.use`), or other application methods, you will need to configure those in the `./storybook/preview.js` file.
29
-
30
- Therefore, Storybook provides you with a `setup` function exported from this package, which receives as a callback your Storybook instance, which you can interact with and add your custom configuration.
31
-
32
- ```js
33
- // .storybook/preview.js
34
-
35
- import { setup } from '@storybook/vue3';
36
-
37
- setup((app) => {
38
- app.use(MyPlugin);
39
- app.component('my-component', MyComponent);
40
- app.mixin({
41
- /* My mixin */
42
- });
43
- });
44
- ```
3
+ See [documentation](https://storybook.js.org/docs/8.0/get-started/vue3-webpack5?renderer=vue) for installation instructions, usage examples, APIs, and more.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/vue3-webpack5",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -47,10 +47,10 @@
47
47
  "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
48
48
  },
49
49
  "dependencies": {
50
- "@storybook/builder-webpack5": "8.0.0",
51
- "@storybook/core-common": "8.0.0",
52
- "@storybook/preset-vue3-webpack": "8.0.0",
53
- "@storybook/vue3": "8.0.0",
50
+ "@storybook/builder-webpack5": "8.0.2",
51
+ "@storybook/core-common": "8.0.2",
52
+ "@storybook/preset-vue3-webpack": "8.0.2",
53
+ "@storybook/vue3": "8.0.2",
54
54
  "@types/node": "^18.0.0"
55
55
  },
56
56
  "devDependencies": {