Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.64 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.64 KB

Magebook app

This is a project template for building web apps with Magebook editor + Vue.js, a popular javascript framework

Comes with:

  • Vue.js javascript framework + Vite bundler
  • Roboto font and zmdi-icons, common choices for android apps
  • out of the box support for Magebook book loading (configuration is done inside virt.config.js)

Get started

Clone and install dependencies (Node.js required):

npx degit librogamesland/magebook-template magebook-app
cd magebook-app
npm install

Build and release:

# Dev mode - rebuild on file change
# Open your browser at http://localhost:10021 to see the result
npm run dev

# Build project release (will create dist folder)
npm run build

Project structure

assets/           # Dist folder, put here static files
src/              # Source (book/html/css/js/vue) files
  components/     # Vue reusable components (buttons/checkboxes/...)
  main.js         # Javascript entry point
  store.js        # Shared javascript store
  book.md         # MAGEBOOK markdown file
  App.vue         # Vue entry point

virt.config.js    # Bundler configuration

Have fun coding with Magebook!

For any problem contact me on github, via email [email protected] or through Librogame's Land forum (italian)