Javascript 在meteor中放置主scss文件的位置
你把main.scss文件放在meteor的什么地方。我跟着这个 要安装fourseven:scss和poetic:materialize scss,我可以看到materialize图标已正确加载。但是,我无法看到加载的css 我创建了main.scss并键入以下行:Javascript 在meteor中放置主scss文件的位置,javascript,meteor,sass,materialize,Javascript,Meteor,Sass,Materialize,你把main.scss文件放在meteor的什么地方。我跟着这个 要安装fourseven:scss和poetic:materialize scss,我可以看到materialize图标已正确加载。但是,我无法看到加载的css 我创建了main.scss并键入以下行: /client/main.scss @import "{poetic:materialize-scss}/sass/materialize.scss"; 这是放置main.scss的正确位置吗?meteor如何加载scss文件
/client/main.scss
@import "{poetic:materialize-scss}/sass/materialize.scss";
这是放置main.scss的正确位置吗?meteor如何加载scss文件
我的配置:Windows 10
流星1.5.5.5
四七:scss@4.5.4
诗意:物化-scss@1.2.10 编辑:添加使用的包 使用的软件包:
accounts-base 1.3.4 A user account system
accounts-password 1.4.1 Password support for accounts
aldeed:autoform 5.8.1* Easily create forms with automatic
insert and update, and automatic reactive...
aldeed:autoform-select2 2.0.3* Custom select2 input type for AutoForm
aldeed:collection2-core 2.0.1 Core package for aldeed:collection2
aldeed:delete-button 2.0.0 Provides a delete button UI component
aldeed:simple-schema 1.5.3 A simple schema validation object with reactivity. Used by collection2 and a...
blaze-html-templates 1.1.2 Compile HTML templates into reactive UI with Meteor Blaze
check 1.2.5 Check whether a value matches a pattern
dynamic-import 0.1.3 Runtime support for Meteor 1.5 dynamic import(...) syntax
ecmascript 0.8.3 Compiler plugin that supports ES2015+ in all .js files
ecwyne:mathjs 2.7.0 Mathjs, An extensive math library for JavaScript, packaged for Meteor. See h...
email 1.2.3 Send email messages
es5-shim 4.6.15 Shims and polyfills to improve ECMAScript 5 support
gildaspk:autoform-materialize 0.0.26 Materialize theme for Autoform
johanbrook:publication-collector 1.0.10 Test a Meteor publication by collecting its output.
jquery 1.11.10 Manipulate the DOM using CSS selectors
kadira:blaze-layout 2.3.0 Layout Manager for Blaze (works well with FlowRouter)
kadira:flow-router 2.12.1 Carefully Designed Client Side Router for Meteor
less 2.7.9 Leaner CSS language
meteor-base 1.1.0 Packages that every Meteor app needs
meteorhacks:aggregate 1.3.0 Proper MongoDB aggregations support for Meteor
mobile-experience 1.0.5 Packages for a great mobile user experience
momentjs:moment 2.19.1 Moment.js (official): parse, validate, manipulate, and display dates - offi...
mongo 1.2.2 Adaptor for using MongoDB and Minimongo over DDP
natestrauser:select2 4.0.3 Select2 is a jQuery based replacement for select boxes.
npm-bcrypt 0.9.3 Wrapper around the bcrypt npm package
practicalmeteor:mocha 2.4.5_6 Write package tests with mocha and run them in the browser or from the com...
reactive-var 1.0.11 Reactive variable
session 1.1.7 Session variable
standard-minifier-css 1.3.5 Standard css minifier used with Meteor apps by default.
standard-minifier-js 2.1.2 Standard javascript minifiers used with Meteor apps by default.
tracker 1.1.3 Dependency tracker to allow reactive callbacks
underscore 1.0.10 Collection of small helpers: _.map, _.each, ...
useraccounts:flow-routing 1.14.2 UserAccounts package providing routes configuration capability via kadira:f...
New versions of these packages are available! Run 'meteor update' to try to update those packages to their latest
版本。如果您的软件包无法进一步更新,请尝试键入meteor add@
查看更多信息
信息。你读过这个吗?我做了那件事,但还是什么也没发生。最终我发现了这个:,但也不起作用。展示你的meteor软件包,请展示软件包。我已经删除了fourseven:scss,Pothical:materialize scss当前,这是唯一丢失的2个包,但不知何故,我的routes.js没有正确加载,控制台抛出错误,无法找到“/”路径。我已经放弃了,现在正在建立一个新项目,从这个旧项目中干净地导入所有内容……你读过这个吗?我做了那件事,但还是什么也没发生。最终我发现了这个:,但也不起作用。展示你的meteor软件包,请展示软件包。我已经删除了fourseven:scss,Pothical:materialize scss当前,这是唯一丢失的2个包,但不知何故,我的routes.js没有正确加载,控制台抛出错误,无法找到“/”路径。我已经放弃了,现在正在建立一个新项目,从这个旧项目中干净地导入所有内容。。。