mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
chore(examples): update routify version to 2.x
This commit is contained in:
parent
251f986304
commit
1fdd2338f9
32 changed files with 2849 additions and 2693 deletions
23
examples/routify/netlify.toml
Normal file
23
examples/routify/netlify.toml
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
[build]
|
||||
publish = "dist"
|
||||
functions = "api/netlify"
|
||||
command = "npm run build && cd api/netlify && npm run build"
|
||||
|
||||
# Dev doesn't work yet. Any takers?
|
||||
# [dev]
|
||||
# command = "npm run dev:ssr"
|
||||
# targetPort = 5000
|
||||
# publish = "assets"
|
||||
# autoLaunch = true
|
||||
|
||||
[[redirects]]
|
||||
# SSR and SPA
|
||||
from = "/*"
|
||||
to = "/.netlify/functions/ssr"
|
||||
status = 200
|
||||
|
||||
# SPA only
|
||||
# from = "/*"
|
||||
# to = "/__app.html"
|
||||
# status = 200
|
Loading…
Add table
Add a link
Reference in a new issue