@materia/addon-boilerplate
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Materia - Addon Boilerplate

Starter kit to create a Materia Addon.

Features

  • Minimal server
  • Default addon view (Angular v9 + Angular Material)
  • Custom setup dialog
  • Build system (@angular/cli + ng-packagr + TypeScript + Sass)

Installation from NPM

In your Materia application, run yarn add @materia/addon-boilerplate

Restart Materia Designer

Installation from local files

Clone this repository:

git clone git@github.com:thyb/materia-addon-boilerplate.git
cd materia-addon-boilerplate

Then install dependencies and build:

yarn
yarn build

To test your addon locally before publishing it to NPM, use npm link:

cd dist && npm link

and in your materia application

npm link @materia/addon-boilerplate

then add "@materia/addon-boilerplate": "^1.1.0" in the dependencies of the package.json - it will let Materia knows of the existance of the addon.

Readme

Keywords

none

Package Sidebar

Install

npm i @materia/addon-boilerplate

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

186 kB

Total Files

32

Last publish

Collaborators

  • materia