parasails

Lightweight structures for apps with more than one page.
1,505,541 49
Install
npm install parasails
Latest Version:0.9.3
License:MIT
Last Updated:Aug 17, 2021
Links: GitHub  ·  npm
Maintainer: mikermcneil

parasails

Lightweight structures for apps with more than one page. Built on top of Vue.js.

While it can be used with any module system, this library does not rely on Webpack, Babel, Gulp, Grunt, Brunch, or any other build system or transpiler. It is 2.96KB minified and gzipped (or 27KB uncompressed).

Usage

Out of the box, parasails supports:

  • pages
  • components
  • utilities
  • constants

As well as a few optional integrations:

  • Vue Router (for client-side routing / "virtual pages")
  • jQuery (for this.$get(), this.$find(), and this.$focus())
<div id="homepage" v-cloak>
  <h1>{{welcomeMessage}}</h1>
  <button autofocus @click="clickButton()">Click me</button>
</div>
parasails.registerPage('homepage', {
  data: {
    welcomeMessage: ''
  },
  beforeMount: function(){
    this.welcomeMessage = 'Hello world!';
  },
  mounted: function(){
    this.$focus('[autofocus]');
  },
  methods: {
    clickButton: function(){
      this.welcomeMessage = 'Ow that hurt!';
    }
  }
});

Jumping off

Have questions? Need advice? Want to contribute? Come by and say hello!

Parasails is developed by Mike McNeil, with help from other Sails.js core team members in Austin, TX. If you're working on a commercial project and are interested in ways we can work together, drop us a line.

License

Copyright © 2017-present Mike McNeil

Related Packages

ya-ui-vue

A UI toolkit for Yazuo base on vue.js

3,857 2
i-ui

vue components

2,889
uspview

A high quality UI components Library with Vue.js

426
@trycourier/courier-vue

The Vue components for the Courier web UI

44,039 1
@skeletonizer/vue

The way to skeletonize your Vue.js components

14,564 7

Version History

Version Released License
0.9.3 MIT
0.9.2 MIT
0.9.1 MIT
0.8.4 MIT
0.8.3 MIT
Pre-releases (5)
Version Released License
0.9.0-4 MIT
0.8.0-0 MIT
0.7.0-0 MIT
0.6.0-1 MIT
0.5.0-1 MIT