-
-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap 4 beta 1 support #315
Comments
Be careful, because tons of variables were renamed: |
_normalize is not contained any more in bootstrap 4 beta. You need to remove this from your .bootstraprc. Just take a look at the recent blog entry: http://blog.getbootstrap.com/2017/08/10/bootstrap-4-beta/
|
I removed responsive-embed and normalize from .bootstraprc and now I have this error:
|
adding this to the custom variables file fixed the issue for me: |
which "custom variables file"? A scss file inside your project, or _variables.scss inside bootstrap? |
I was able to get 4 beta to work with the following:
|
And |
Thank u guys, now It's working :) I added . 'Popper': 'popper.js' into "ProvidePlugin({...})" in my webpack config. |
I'm going to merge #125 soon. However, is there a good reason to support both the alpha and the beta with the update? |
@justin808 I think that alphas should be removed. Now apis should be stable, so all previous alphas are useless. |
Attention: to prevent this error
while using Popper with Webpack 3, import Popper in this way:
not simply with 'Popper': 'popper.js' I hope that this could be useful for some people |
None of this worked for me: setting normalize and responsive_embed to false, importing the functions.scss file and installing popper (and adding to webpack). I'm using webpack 2 though |
See: #316. This is almost ready to go. I commented:
|
@jugg1es @Ks89 feel free to try to help @IvanKalinin getting this to the finish line. |
@jugg1es what does it mean "None of this worked for me". Could you share your log? |
After attempting all of the steps suggested, I was still getting:
I don't have the full log because I just set bootstrap to be fixed at
and moved on for now. |
@jugg1es I created two templates with bootstrap-loader and bootstrap 4 beta. If you want you could check for differences. |
Merged! and released 2.2.0! See #316. |
I had the same issue with my angular-cli app. Using a diffrent version of node and npm fixed my issue. If it helps, try using NVM to switch to different versions of node. |
Same issue here:
I do not understand if there was a solution described here. Here is what worked for me: diff --git a/.bootstraprc b/.bootstraprc
index f942e78..180eb6e 100644
--- a/.bootstraprc
+++ b/.bootstraprc
@@ -34,7 +34,6 @@ styles:
mixins: true
# Reset and dependencies
- normalize: true
print: true
# Core CSS
@@ -64,7 +63,6 @@ styles:
navbar: true
pagination: true
progress: true
- responsive-embed: true
transitions: true
# Components w/ JavaScript
diff --git a/package.json b/package.json
index b63bb6b..5935882 100644
--- a/package.json
+++ b/package.json
@@ -16,8 +16,8 @@
"@types/react-router-dom": "^4.0.4",
"@types/webpack-env": "^1.13.0",
"awesome-typescript-loader": "^3.1.3",
- "bootstrap": "^4.0.0-alpha.6",
- "bootstrap-loader": "^2.1.0",
+ "bootstrap": "^4.0.0",
+ "bootstrap-loader": "^2.2.0",
"clean-webpack-plugin": "^0.1.16",
"css-loader": "^0.28.4",
"exports-loader": "^0.6.4", Hope that helps someone else! 😃 |
@mbenzenhoefer It works for me now, thank you very much. |
Hi!
I updated to [email protected] and now I've this error:
Beta 1 dropped Normalize.css as a dependency
The text was updated successfully, but these errors were encountered: