akanix42 / meteor-css-modules

MIT License
92 stars 19 forks source link

Problem with style when install this!!! #95

Closed thearabbit closed 6 years ago

thearabbit commented 7 years ago

I use bootstrap for my project, it work fine first. But when I installed this, It don't have any style

image

My packages

{
  "name": "react-bs",
  "private": true,
  "scripts": {
    "start": "meteor run"
  },
  "dependencies": {
    "babel-runtime": "^6.20.0",
    "bcrypt": "^1.0.2",
    "bootstrap": "^3.3.7",
    "classnames": "^2.2.5",
    "graphql": "^0.9.1",
    "lodash": "^4.17.4",
    "meteor-node-stubs": "~0.2.4",
    "moment": "^2.18.1",
    "react": "^15.4.2",
    "react-addons-pure-render-mixin": "^15.4.2",
    "react-bootstrap": "^0.30.8",
    "react-dom": "^15.4.2",
    "react-router": "^3.0.2",
    "react-router-bootstrap": "^0.23.1",
    "react-tap-event-plugin": "^2.0.1",
    "simpl-schema": "^0.2.3",
    "uniforms": "^1.16.0",
    "uniforms-bootstrap3": "^1.16.0"
  },
  "devDependencies": {
    "babel-plugin-transform-class-properties": "^6.23.0"
  }
}
---------------
# Meteor packages used by this project, one per line.
# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

meteor-base@1.0.4             # Packages every Meteor app needs to have
mobile-experience@1.0.4       # Packages for a great mobile UX
mongo@1.1.16                   # The database Meteor supports right now
blaze-html-templates    # Compile .html files into Meteor Blaze views
reactive-var@1.0.11            # Reactive variable for tracker
tracker@1.1.2                 # Meteor's client-side reactive programming library

standard-minifier-css@1.3.4   # CSS minifier run for production mode
standard-minifier-js@2.0.0-beta.4    # JS minifier run for production mode
es5-shim@4.6.15                # ECMAScript 5 compatibility for older browsers.
ecmascript@0.8.0-beta.12              # Enable ECMAScript2015+ syntax in app code

less@2.7.9                    # Leaner CSS language

practicalmeteor:mocha             # A package for writing and running your meteor app and package tests with mocha
johanbrook:publication-collector  # Test a Meteor publication by collecting its output

shell-server
ddp-rate-limiter
accounts-base
accounts-password
check
session
react-meteor-data

alanning:roles
mdg:validated-method
didericis:callpromise-mixin
fourseven:scss
themeteorchef:bert
fortawesome:fontawesome
aldeed:simple-schema

Please help me.

akanix42 commented 7 years ago

Are you able to provide a reproduction repo? That should enable me to quickly find the issue.

akanix42 commented 7 years ago

Most likely the issue here is that you are using the bootstrap .css file, which is now being processed by CSS modules. To prevent this, follow the instructions here: https://github.com/nathantreid/meteor-css-modules/wiki/Using-with-CSS-files-that-don't-support-CSS-modules. If that doesn't work, let me know!

akanix42 commented 6 years ago

Closing due to inactivity after solution was provided. If this is still an issue, please reopen it.