weixin_39786617
weixin_39786617
2020-12-26 04:52

scss module.scss

yo m:module generate a module.scss not a _module.scss Problem no variables are longer available!!!

该提问来源于开源项目:mwaylabs/generator-m-ionic

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39769984 weixin_39769984 4月前

    Hi , can you please specify, what variables are you talking about, what is the use-case exactly? Unless you're using sass in a way that I don't have in my mind right now, I don't see the problem. It's always been like this and the new modules and the scss integration have been implemented in the way we all discussed and agreed on. See https://github.com/mwaylabs/generator-m/issues/148

    点赞 评论 复制链接分享
  • weixin_39786617 weixin_39786617 4月前

    I`am talking about the ionic variable and we discussed in the meeting that we want => module network => styles/_network.scss.

    点赞 评论 复制链接分享
  • weixin_39769984 weixin_39769984 4月前

    For the last release we agreed on these changes: https://github.com/mwaylabs/generator-m/issues/148#issuecomment-112021578 We'll discuss this feature and put it on the roadmap accordingly

    点赞 评论 复制链接分享
  • weixin_39769984 weixin_39769984 4月前

    Discussion:

    Mathias: - naming: module.scss rather main.scss, side.scss, etc...

    Jonathan: - don't destroy newbie workflow: 1. create module 2. make css adjustments 3. see live with livereload - don't create unnecessary complicated logic, try to find a solution that fits all

    点赞 评论 复制链接分享

相关推荐