Skip to content
This repository was archived by the owner on Nov 17, 2021. It is now read-only.

A simple shim for using Materialize in Ember.js apps

License

Notifications You must be signed in to change notification settings

C2FO/ember-materialize-shim

This branch is 446 commits behind mike-north/ember-materialize-shim:master.

Folders and files

NameName
Last commit message
Last commit date
Jul 22, 2016
Mar 11, 2016
Aug 9, 2016
Mar 12, 2016
Jul 2, 2016
Jul 22, 2016
Mar 11, 2016
Mar 11, 2016
Mar 11, 2016
Jul 2, 2016
Mar 12, 2016
Mar 11, 2016
Jul 22, 2016
Jul 2, 2016
Mar 11, 2016
Mar 12, 2016
Mar 12, 2016
Jul 26, 2016
Aug 9, 2016
Jul 30, 2016
Jul 2, 2016
Aug 9, 2016
Aug 22, 2016
Mar 11, 2016

Repository files navigation

Ember-materialize-shim Build Status

FASTBOOT COMPATIBLE

A very simple shim to add Materialize SASS and JavaScript resources to your ember.js app

Use

Install this addon into your ember.js app, using ember-cli.

Reinstall node-sass to ensure that you have an older version, which is required to circumvent an outstanding issue.

ember install ember-materialize-shim
npm uninstall node-sass && npm install

And then you can import materialize styles

app/styles/app.scss

@import "materialize"

And import materialize javascript

my-file.js

import Materialize from 'materialize';

Optionally, you may omit the JavaScript component of Materialize, by customizing your ember-cli-build.js

var app = new EmberApp(defaults, {
  ...
  'materialize-shim': {
    omitJS: true
  }
});

Contributing

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

About

A simple shim for using Materialize in Ember.js apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 84.3%
  • HTML 14.4%
  • CSS 1.3%