generator-ionic icon indicating copy to clipboard operation
generator-ionic copied to clipboard

Mixins in one location

Open landed1 opened this issue 10 years ago • 0 comments

You need to not duplicate and DRY so I dont want to have to specify mixins across two differing scss files. As the default scenario is set up there is no place to have rot mixins load where its available for all scss files after..

So we do this : compass: { files: ['<%= yeoman.app %>/<%= yeoman.styles %>//*.{scss,sass}', '<%= yeoman.app %>/<%= yeoman.styles %>/myApp//*.{scss,sass}

I would think that a file in the root of yeoman.styles would be the place to set a mixin but something here is stopping that mixin working in the /myApp space and I cant immediately see why.

landed1 avatar Jul 21 '15 10:07 landed1