You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 1, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+52-14Lines changed: 52 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Views Middleware for Pinecone Router
2
2
3
-
[](https://github.com/pinecone-router/middleware-views/tree/2.0.1)
[](https://github.com/pinecone-router/middleware-views/tree/3.0.0)
[](https://www.jsdelivr.com/package/npm/pinecone-router-middleware-views)
- You can use both views and handlers in the same route, handlers always run first.
77
-
- Set the [`viewSelector` option in settings](https://github.com/pinecone-router/router#settings) to change where views will show
77
+
- Set the [`viewSelector` option in settings](https://github.com/pinecone-router/router#settings) to change where views will be shown by default. ([can be overwritten on a per-route basis](###multiple-views-per-route))
-`/authWrapper.html` will be shown in the default target which `#app` or [whatever is default in settings](https://github.com/pinecone-router/router#settings) in the `viewSelector` property.
116
+
-`/login.html` will be shown inside element with the selector `#content` which inside inside `/authWrapper.html`
117
+
118
+
> View Compositon Feature was suggested by [@klausklapper](https://github.com/klausklapper)
0 commit comments