feat: storybook

This commit is contained in:
liyasthomas
2021-08-02 21:38:04 +05:30
parent 13dbeaba35
commit d84e2a8e9b
5 changed files with 23882 additions and 64096 deletions

View File

@@ -1,7 +0,0 @@
export default {
title: "MyButton",
}
export const MyButton = () => {
"<MyButton>Primary Button</MyButton>"
}

View File

@@ -1,3 +0,0 @@
<template>
<button>Button</button>
</template>

View File

@@ -0,0 +1,7 @@
export default {
title: "Button",
}
export const PrimaryButton = () => `<ButtonPrimary label="Primary" />`
export const SecondaryButton = () => `<ButtonSecondary label="Secondary" />`

87958
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -69,7 +69,7 @@
"@commitlint/config-conventional": "^13.1.0", "@commitlint/config-conventional": "^13.1.0",
"@nuxt/types": "^2.15.7", "@nuxt/types": "^2.15.7",
"@nuxt/typescript-build": "^2.1.0", "@nuxt/typescript-build": "^2.1.0",
"@nuxtjs/color-mode": "^2.0.10", "@nuxtjs/color-mode": "^2.1.1",
"@nuxtjs/dotenv": "^1.4.1", "@nuxtjs/dotenv": "^1.4.1",
"@nuxtjs/eslint-config-typescript": "^6.0.1", "@nuxtjs/eslint-config-typescript": "^6.0.1",
"@nuxtjs/eslint-module": "^3.0.2", "@nuxtjs/eslint-module": "^3.0.2",
@@ -96,6 +96,7 @@
"jest-serializer-vue": "^2.0.2", "jest-serializer-vue": "^2.0.2",
"lint-staged": "^11.1.1", "lint-staged": "^11.1.1",
"nuxt-windicss": "^1.2.1", "nuxt-windicss": "^1.2.1",
"postcss": "^8.3.6",
"prettier": "^2.3.2", "prettier": "^2.3.2",
"pretty-quick": "^3.1.1", "pretty-quick": "^3.1.1",
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",