follow PugJs
This commit is contained in:
15
examples/demo/views/mixin-test.pug
Normal file
15
examples/demo/views/mixin-test.pug
Normal file
@@ -0,0 +1,15 @@
|
||||
include mixins/buttons.pug
|
||||
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
title Mixin Test
|
||||
body
|
||||
h1 Mixin Test Page
|
||||
|
||||
p Testing button mixin:
|
||||
+btn("Click Me")
|
||||
+btn("Cancel", "secondary")
|
||||
|
||||
p Testing link mixin:
|
||||
+btn-link("/home", "Go Home")
|
||||
Reference in New Issue
Block a user