Skip to content

Commit

Permalink
update kitchensink
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrosenberg committed Jul 5, 2023
1 parent 877a899 commit b740e11
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/kitchensink/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn/material-dynamic-colors.min.js"
></script>

<script type="module" src="/src/main.js"></script>
<script type="module" src="/.routify/routify-init.js"></script>
<!--ssr:head-->
</head>

Expand Down
1 change: 1 addition & 0 deletions examples/kitchensink/src/routes/__nestedRoutes/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Hello world
2 changes: 1 addition & 1 deletion examples/kitchensink/src/routes/multi-router/basic.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
<Router name="nested" />
</article>
{:else}
<p>We could nest routers inifintely, but let's not...</p>
<p>We could nest routers infinitely, but let's not...</p>
{/if}
3 changes: 3 additions & 0 deletions examples/kitchensink/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export default defineConfig({
plugins: [
routify({
ssr: { enable: !!production },
routesDir: {
nested: 'src/routes/__nestedRoutes',
},
}),
svelte({
emitCss: false,
Expand Down

0 comments on commit b740e11

Please sign in to comment.