Skip to content

Commit 694f7e0

Browse files
committed
Fix: Use proper @use syntax with wildcard namespace for bootstrap import
The previous @use directive without proper webpack module resolution wasn't working. This update keeps the `~` prefix for webpack and uses `as *` to make all bootstrap utilities available in the global scope, similar to the original @import behavior.
1 parent c4c4bd5 commit 694f7e0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

assets/scss/application.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
@charset "utf-8";
22

3+
@use "sass:math" as math;
4+
@use "~bootstrap" as *;
35
@use "vars";
4-
@use "bootstrap";
56

67
.nav-header {
78
padding-bottom: 9px;

0 commit comments

Comments
 (0)