Closed seanjsong closed 9 years ago
@seanjsong 确实不雅,不过暂时似乎没有更好的办法。
参考阅读: https://github.com/meteoric/ionic-sass
NOTE: Due to a current limitation of the Meteor packaging system, the above path may not exist the first time you run your Meteor app after installing this package. This will cause an error saying the file to import was not found. This may also occur if you run meteor reset. Restarting your app should fix this problem. See meteor/meteor#2606 and meteor/meteor#2796 for more info.
此问题应该是导致需要运行 meteor 两次的原因. 的确不雅. 是一种 hack. 估计以后会改变. 我个人更加喜欢 less 超过 sass
client/stylesheets/app.scss中有
@import '.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/ionic'; @import '.meteor/local/build/programs/server/assets/packages/meteoric_ionicons-sass/ionicons';
而那两个目录下实际能找到的文件只有:
.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/_ionic.scss .meteor/local/build/programs/server/assets/packages/meteoric_ionicons-sass/_ionicons.scss
问题: