Socket
Book a DemoInstallSign in
Socket

@sensenet/controls-aurelia

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sensenet/controls-aurelia

Aurelia controls for sensenet ECM

3.1.0
latest
Source
npmnpm
Version published
Weekly downloads
4
33.33%
Maintainers
4
Weekly downloads
 
Created
Source

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, written in Aurelia Framewok

Sense/Net Services

Usage and installation

You can install the latest version from NPM

npm install --save @sensenet/controls-aurelia

You can import into your Aurelia application's entry point

import { Repository } from '@sensenet/client-core';
// ... 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, () => {
        const repo = new Repository(
        {
            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'
    ]
}),

Please also add these into your HTML template's <head> section:

<head>
  
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
  
</head>

Keywords

sensenet

FAQs

Package last updated on 31 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.