Setup

Install

npm install --save preact-layout

Require

var Layout = require('preact-layout').Layout
var Section = require('preact-layout').Section

Import

import { Layout, Section } from 'preact-layout'

AMD

define(['preact-layout'], function(preactLayout){
    const { Layout, Section } = preactLayout
})

Script tag

<script src="https://cdn.rawgit.com/download/preact-layout/VERSION/dist/preact-layout.min.js"></script>

results matching ""

    No results matching ""