Skip to content

Instantly share code, notes, and snippets.

@manuelep
Created September 17, 2021 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manuelep/be9150e7e68952b41f9487b4ccffaad9 to your computer and use it in GitHub Desktop.
Save manuelep/be9150e7e68952b41f9487b4ccffaad9 to your computer and use it in GitHub Desktop.
Unbbundler + Vue template test
# cd somewhere
git clone https://github.com/ali96343/unbundler.git
cp unbundler/unbun ~/.local/bin/
chmod ug+x ~/.local/bin/unbun
su - $USER # It seams it's necessary to make the unbun command recognized
# cd somewhere
py4web setup apps
cp -a apps/_scaffold apps/vlbd
mkdir apps/vlbd/static/tte
git clone https://github.com/manuelep/vue-light-bootstrap-dashboard.git apps/vlbd/static/tte/vue-light-bootstrap-dashboard
cd apps/vlbd/static/tte/vue-light-bootstrap-dashboard/
npm i
# npm run dev # Just to check that the installed dashboard works fine accessing to http://localhost:8080
npm run build
cd ..
# pip install bs4 jsbeautifier cssbeautifier lxml # As required by the unbun script
unbun
cd ../../../../
py4web run apps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment