Build for nuxi based Websites
This commit is contained in:
parent
ce035d9186
commit
9506e727ad
1 changed files with 17 additions and 0 deletions
17
bin/build.sh
17
bin/build.sh
|
|
@ -36,6 +36,23 @@ then
|
||||||
echo "Error installing node-dependencies" 1>&2
|
echo "Error installing node-dependencies" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
if test -f nuxt.config.ts
|
||||||
|
then
|
||||||
|
# Build for nuxi based Sites
|
||||||
|
if ! npx nuxi build
|
||||||
|
then
|
||||||
|
echo "Error nuxi build" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if ! npx nuxi generate
|
||||||
|
then
|
||||||
|
echo "Error nuxi generate" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "No supportet node website type found" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue