v0.10.0
Fixed Bugs
- api endpoints were still on old sveltekit routing mechanism. Updated and fixed an issue when building the project due to
prerender=true
on those files.fallback: '200.html'
on static adapter configuration made the magic.
🚀 New Features
-
new resource
cmd allows to specify the group layout name according to the sveltekit Advanced layouts by passing the--group
flagsveltin new resource testimonials --group marketing
-
new resource
cmd allows to specify if a different layout for theslug
pages must be created in addition to the one for theindex
page.sveltin new resource posts --slug
🔧 Code Refactoring
config.TemplateData
struct makes use of individual struct for each artifact template data- file templates updated accordingly
- generate commands (
menu
,rss
,sitemap
) simplified and updated to work for grouped layout too GetAllRoutes
refactored to useafero.Walk
Chores
- sveltekit updated to next.483
- go deps updated
- uniform function names
Pull Requests
- Merge pull request #120 from kit-advanced-layout
Full Changelog: v0.9.1...v0.10.0