-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🛠️
Component
: Set up view_component
ComponentPreview
s
- #1187 This is an intermediary step before we look into `LookBook` or similar, but it: 1. Makes it possible to define component previews in `spec/components/previews` 2. Creates a basic layout for showing Components
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title></title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<%= csrf_meta_tags %> | ||
<%= csp_meta_tag %> | ||
<%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %> | ||
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %> | ||
</head> | ||
|
||
<body> | ||
<%= yield %> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters