Skip to content

Commit

Permalink
fix: controls css missing component style
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Apr 24, 2022
1 parent 725a087 commit 921073a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/histoire-controls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"*.vue"
],
"scripts": {
"build": "rimraf dist && vite build && pnpm run build:types && pnpm run build:css",
"build:css": "tailwindcss -i src/style/main.css -o ./dist/style.css -c tailwind.config.cjs --postcss postcss.config.cjs",
"build": "rimraf dist && pnpm run build:css && vite build && pnpm run build:types",
"build:css": "tailwindcss -i src/style/main.css -o ./node_modules/.temp/style.css -c tailwind.config.cjs --postcss postcss.config.cjs",
"build:types": "vue-tsc --declaration --emitDeclarationOnly",
"watch": "concurrently \"vite build --watch\" \"pnpm run build:types -- --watch\"",
"watch:full": "concurrently \"vite build --watch\" \"pnpm run build:css -- --watch\" \"pnpm run build:types -- --watch\"",
Expand Down
1 change: 1 addition & 0 deletions packages/histoire-controls/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '../node_modules/.temp/style.css'
import type { App } from 'vue'
import HstCheckboxVue from './components/checkbox/HstCheckbox.vue'
import HstTextVue from './components/text/HstText.vue'
Expand Down

0 comments on commit 921073a

Please sign in to comment.