Skip to content
Lars van Braam edited this page Nov 20, 2017 · 20 revisions

vue-block-system

Table of contents

  1. Setup
    1. Setup the seng-generator
    2. Create the api
    3. Generate a content page
    4. Create a wildcard route
    5. Create a block folder
    6. Enable the plugin
    7. Wait for the plugin to be ready
  2. Creating a block
    1. Generating the block
    2. Typing block data
    3. Enabling the block
    4. Using block data
  3. Configuration
  4. Nesting blocks
  5. Buttons
  6. Route Hijacking
    1. Before route change
    2. After route change
  7. Custom init data
  8. Linking to blocks within a page

Demo

The repository contains a demo setup for the block system. It's based on the 0.3.1 version of the vue-skeleton. Since the block system is a plugin it should still work with newer versions of the skeleton. You can preview the demo either downloading the demo folder and running yarn to install all dependencies and then run yarn dev to start the dev server.

Extra's

  1. Generate documentation

Note:

!!! Work in progress, will contains bugs !!!

Clone this wiki locally