moved test files
This commit is contained in:
8
tests/sample/01/home.pug
Normal file
8
tests/sample/01/home.pug
Normal file
@@ -0,0 +1,8 @@
|
||||
include mixins/_buttons.pug
|
||||
include mixins/_cards.pug
|
||||
|
||||
doctype html
|
||||
html
|
||||
body
|
||||
+primary-button("Click me")
|
||||
+card("Title", "content here")
|
||||
2
tests/sample/01/mixins/_buttons.pug
Normal file
2
tests/sample/01/mixins/_buttons.pug
Normal file
@@ -0,0 +1,2 @@
|
||||
mixin btn(text)
|
||||
button.btn= text
|
||||
4
tests/sample/01/mixins/_cards.pug
Normal file
4
tests/sample/01/mixins/_cards.pug
Normal file
@@ -0,0 +1,4 @@
|
||||
mixin card(title, content)
|
||||
.card
|
||||
.card-header= title
|
||||
.card-body= content
|
||||
Reference in New Issue
Block a user