sn-controls-aurelia
Aurelia controls for sensenet ECM
Last updated 3 years ago by gallayl .
GPL-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sn-controls-aurelia 
SYNC missed versions from official npm registry.

sn-controls-aurelia

Gitter chat Build Status codecov Codacy Badge NPM version NPM downloads License semantic-release Commitizen friendly Greenkeeper badge

This package contains a collection of UI components and controls for sensenet ECM, written in Aurelia Framewok

Sense/Net Services

Usage and installation

You can install the latest version from NPM

npm install --save sn-controls-aurelia

You can import into your Aurelia application's entry point

import { Repository } from 'sn-client-js';
// ... your other imports

export async function configure(aurelia: Aurelia) {
    aurelia.use
    .standardConfiguration()
    .developmentLogging()
    // ... your other features and plugins
    .plugin(PLATFORM.moduleName('aurelia-validation'))
    .plugin(PLATFORM.moduleName('sn-controls-aurelia'));

    aurelia.container.registerSingleton(Repository.BaseRepository, () => {
        const repo = new Repository.SnRepository(
        {
            RepositoryUrl: 'https://my-sn7-instance',
        });

        return repo;
    });

    await aurelia.start();
    await aurelia.setRoot(PLATFORM.moduleName('app'));
}

If you are using Webpack, add these dependencies into your webpack.config's plugins section:

new ModuleDependenciesPlugin({
    "sn-controls-aurelia": [
    './attributes/ContentDragCustomAttribute',
    './attributes/ContentDropCustomAttribute',
    './attributes/SettingsValidationCustomAttribute'
    ]
}),

Current Tags

  • 2.0.0-development.5                                ...           development (3 years ago)
  • 2.0.1                                ...           latest (3 years ago)

14 Versions

  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 2.0.0-development.5                                ...           3 years ago
  • 2.0.0-development.4                                ...           3 years ago
  • 2.0.0-development.3                                ...           3 years ago
  • 2.0.0-development.2                                ...           3 years ago
  • 2.0.0-development.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 1.0.0-dev.mdc.4                                ...           3 years ago
  • 1.0.0-dev.mdc.3                                ...           3 years ago
  • 1.0.0-dev.mdc.2                                ...           3 years ago
  • 1.0.0-dev.mdc.1                                ...           3 years ago
  • 1.0.0-beta.2                                ...           3 years ago
  • 1.0.0-beta.1                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (17)
Dev Dependencies (24)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |