mirror of
https://github.com/tabler/tabler.git
synced 2025-12-26 11:16:12 +04:00
cards fixes
This commit is contained in:
9
build/capture-components.sh
Executable file
9
build/capture-components.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
for file in ../pages/_components/*.md
|
||||
do
|
||||
file="$(basename -- $file)"
|
||||
file="${file%.md}"
|
||||
url="http://localhost:3001/components/$file.html"
|
||||
echo $url
|
||||
|
||||
capture-website $url --element="#component-wrapper" --scale-factor=2 > ../components/$file.png
|
||||
done
|
||||
Reference in New Issue
Block a user