Repository navigation
Releases: oleksiizlotnik/AutoSkeleton
Releases · oleksiizlotnik/AutoSkeleton
Release list
v1.0.0 — Nuxt support
auto-skeleton-vue now works in Nuxt 3.10+ and Nuxt 4, and the API is stable. No breaking changes: existing Vue apps upgrade without code changes.
Nuxt module
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['auto-skeleton-vue/nuxt'],
autoSkeleton: { persist: true },
})<AutoSkeleton>,<SkeletonCanvas>,useAutoSkeletonanduseAutoSkeletonConfigare auto-imported, and the stylesheet is included.- Options are typed in
nuxt.configand can be overridden per environment withNUXT_PUBLIC_AUTO_SKELETON_*variables. nuxtApp.$autoSkeletonexposes the config, e.g. for a custom store or clearing the cache on logout.
Server-side rendering
- SSR is now supported and tested: both the content and the loading state render on the server and hydrate without mismatches.
- The injection key is now
Symbol.for('auto-skeleton'), and the server no longer shares a fallback config between requests.
Install: npm i auto-skeleton-vue@1.0.0
Docs: Nuxt guide · Full changelog: CHANGELOG.md