@salte-io/salte-pages
v1.0.1
Published
OAuth 2.0 for the masses!
Downloads
4
Readme
Salte Pages
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!