Coder Social home page Coder Social logo

sparkbox / ember-cli-grunticon Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 1.0 141 KB

"A mystical CSS icon solution" for ember.

Home Page: https://www.npmjs.com/package/ember-cli-grunticon

License: MIT License

JavaScript 76.56% HTML 22.73% Handlebars 0.71%

ember-cli-grunticon's Introduction

ember-cli-grunticon

ember-cli addon integrating grunticon into the ember build lifecycle.

Usage

Install

ember install ember-cli-grunticon

Configure

Configure grunticon in your application's ember-cli-build.js file. For details, see the grunticon docs for details.

// ember-cli-build.js
var app = new EmberApp(defaults, {
  // ...
  grunticon: {
    src: "grunticon/src/+(*.svg|*.png)",
    dest: 'public/grunticon'
  }
  // ...
});

ember-cli-grunticon's People

Contributors

cromwellryan avatar ember-tomster avatar

Stargazers

Oskar avatar

Watchers

Ben Callahan avatar Rob avatar James Cloos avatar Drew Clemens avatar  avatar

Forkers

neilrenicker

ember-cli-grunticon's Issues

Cannot read property 'options' of undefined

Hi folks,

I'm getting an error when trying to run ember server right after install.

Cannot read property 'options' of undefined
TypeError: Cannot read property 'options' of undefined
    at Class.module.exports.config (/node_modules/ember-cli-grunticon/index.js:13:19)
    at /node_modules/ember-cli/lib/models/project.js:204:27
    at Array.reduce (native)
    at Project.getAddonsConfig (/node_modules/ember-cli/lib/models/project.js:202:22)
    at Project.config (/node_modules/ember-cli/lib/models/project.js:180:29)
    at Class.<anonymous> (/node_modules/ember-cli/lib/commands/serve.js:44:31)
    at lib$rsvp$$internal$$tryCatch (/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:493:16)
    at lib$rsvp$$internal$$invokeCallback (/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:505:17)
    at lib$rsvp$$internal$$publish (/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:476:11)
    at lib$rsvp$asap$$flush (/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1198:9)

My ember-cli-build.js is set up as suggested in the docs:

grunticon: {
      src: "grunticon/src/+(*.svg|*.png)",
      dest: 'public/grunticon'
    }

I could simply be missing something on my end, as this is my first attempt at using Ember. Any help is appreciated! Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.