parasails
Lightweight structures for apps with more than one page.
Last updated 5 years ago by mikermcneil .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install parasails 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.9.3                                ...           latest (5 years ago)

36 Versions

  • 0.9.3                                ...           5 years ago
  • 0.9.2                                ...           6 years ago
  • 0.9.1                                ...           6 years ago
  • 0.9.0-4                                ...           7 years ago
  • 0.8.4                                ...           7 years ago
  • 0.8.3                                ...           7 years ago
  • 0.8.2                                ...           7 years ago
  • 0.8.1                                ...           7 years ago
  • 0.8.0                                ...           7 years ago
  • 0.8.0-0                                ...           7 years ago
  • 0.7.11                                ...           8 years ago
  • 0.7.10                                ...           8 years ago
  • 0.7.9                                ...           8 years ago
  • 0.7.8                                ...           8 years ago
  • 0.7.7                                ...           8 years ago
  • 0.7.6                                ...           8 years ago
  • 0.7.5                                ...           8 years ago
  • 0.7.4                                ...           8 years ago
  • 0.7.3                                ...           8 years ago
  • 0.7.2                                ...           8 years ago
  • 0.7.1                                ...           8 years ago
  • 0.7.0-0                                ...           8 years ago
  • 0.6.0                                ...           8 years ago
  • 0.6.0-1                                ...           8 years ago
  • 0.5.3                                ...           8 years ago
  • 0.5.2                                ...           8 years ago
  • 0.5.1                                ...           8 years ago
  • 0.5.0                                ...           8 years ago
  • 0.5.0-1                                ...           8 years ago
  • 0.4.0                                ...           8 years ago
  • 0.3.6                                ...           8 years ago
  • 0.3.5                                ...           8 years ago
  • 0.3.3                                ...           8 years ago
  • 0.3.2                                ...           8 years ago
  • 0.3.1                                ...           8 years ago
  • 0.3.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 9
Last Month 9
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |