Skip to content

Commit

Permalink
Include a conflicting "background.jpg" in a slice
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed Nov 14, 2023
1 parent 3da949b commit 246c268
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/fixtures/todo/slices/admin/assets/css/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
body {
/* This intentionally conflicts with the "background.jpg name used in app/ */
background-image: url("../images/background.jpg");
font-family: "Custom Font", sans-serif;
color: white;
margin: 0;
padding: 0;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions test/fixtures/todo/slices/admin/assets/js/app.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
import "../css/app.css"; // Import the main stylesheet

console.log("admin");

0 comments on commit 246c268

Please sign in to comment.