@salte-io/salte-pages

1.0.1 • Public • Published

Salte Pages

NPM Version NPM Downloads Travis Coveralls

semantic-release Greenkeeper badge

Simple Page Management

Supported Browsers

salte-pages guarantees support for the following browsers:

  • Chrome (last 2 versions)
  • Safari (last 2 versions)
  • Opera (last 2 versions)
  • Edge (last 2 versions)
  • IE 11

Edge and Internet Explorer 11 require the web components polyfills.

Install

$ npm install @salte-io/salte-pages

Then add a <script> to your index.html:

<script src="/node_modules/@salte-io/salte-pages/dist/salte-pages.js"></script>

Or require('@salte-io/salte-pages') from your code.

Usage

Here's a simplified example of how it can be used!

<salte-pages selected="dashboard" fallback="404">
    <my-dashboard page="dashboard"></my-dashboard>
    <div page="404">Native Elements are also supported!</div>
</salte-pages>

Also a Live Demo!

Readme

Keywords

Package Sidebar

Install

npm i @salte-io/salte-pages

Weekly Downloads

8

Version

1.0.1

License

MIT

Unpacked Size

70 kB

Total Files

33

Last publish

Collaborators

  • cecilia-sanare
  • salte-bot
  • davewoodward