SvelteKit up and Running Leverage the Power of a Next-Generation Web Framework to Build High-performance Web Apps with Ease

Learn how to leverage the officially supported Svelte framework to build faster and more powerful web applications by following along with real-world scenarios. Key Features Develop JavaScript applications with an intuitive and beginner-friendly framework Grasp the core concepts of SvelteKit effortl...

Descripción completa

Detalles Bibliográficos
Otros Autores: Hildenbrand, Dylan, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham : Packt Publishing Ltd [2023]
Edición:First edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009757932706719
Tabla de Contenidos:
  • Cover
  • Title Page
  • Copyright and Credits
  • Dedication
  • Contributors
  • Table of Contents
  • Preface
  • Part 1 - Getting Started with SvelteKit
  • Chapter 1: Initial Setup and Project Structure
  • Technical requirements
  • Prerequisites
  • Installing SvelteKit
  • SvelteKit's Project Structure
  • static/
  • tests/
  • src/
  • Hello World Application
  • Summary
  • Resources
  • Chapter 2: Configurations and Options
  • Technical requirements
  • Configuring SvelteKit
  • alias
  • appDir
  • csp
  • csrf
  • env
  • prerender
  • Configuring Vite
  • plugins
  • server
  • build
  • preview
  • optimizeDeps
  • ssr
  • Summary
  • Further Reading
  • Chapter 3: Compatibility with Existing Standards
  • Technical requirements
  • Fetch
  • FormData
  • URL
  • Summary
  • Resources
  • Part 2 - Core Concepts
  • Chapter 4: Effective Routing Techniques
  • Technical requirements
  • Creating Dynamic Pages
  • Creating Server Pages
  • load()
  • Page options
  • Actions
  • API Endpoints
  • Creating Layouts
  • Summary
  • Resources
  • Chapter 5: Deep Dive into Data Loading
  • Technical requirements
  • Loading in Clients
  • Loading in Layouts
  • Destructuring RequestEvent
  • Summary
  • Resources
  • Chapter 6: Forms and Data Submission
  • Technical requirements
  • Form Setup
  • Analyzing Actions
  • Database setup
  • Passwords and Security
  • Login Action
  • Enhancing Forms
  • enhance
  • Snapshots
  • Summary
  • Resources
  • Chapter 7: Advanced Routing Techniques
  • Technical requirements
  • Using optional parameters
  • Rest parameters
  • Matching, sorting, and encoding - oh, my!
  • Matching
  • Sorting
  • Encoding
  • Advanced layouts
  • Summary
  • Resources
  • Part 3 - Supplemental Concepts
  • Chapter 8: Builds and Adapters
  • Technical requirements
  • Creating a Build
  • Adapting the app
  • adapter-node
  • adapter-cloudflare
  • adapter-static
  • Summary
  • Resources.
  • Chapter 9: Hooks and Error Handling
  • Technical requirements
  • Using Hooks
  • Server hooks
  • Shared hooks
  • Error Handling
  • Summary
  • Resources
  • Chapter 10: Managing Static Assets
  • Technical requirements
  • Importing Assets
  • Additional Information
  • Images versus Styles
  • Customizing Imports
  • File Paths
  • SvelteKit Configuration Options
  • Vite Configuration Options
  • Summary
  • Resources
  • Chapter 11: Modules and Secrets
  • Technical requirements
  • SvelteKit Module Summaries
  • app/environment
  • app/forms
  • app/navigation
  • app/paths
  • app/stores
  • service-worker
  • Keeping secrets safe
  • env/static/private
  • env/static/public
  • env/dynamic/private
  • env/dynamic/public
  • Summary
  • Resources
  • Chapter 12: Enhancing Accessibility and Optimizing SEO
  • Technical requirements
  • Compile-Time Checks
  • Announcing routes
  • Accessibility enhancements
  • SEO Tips
  • Summary
  • Resources
  • Appendix: Examples and Support
  • Technical requirements
  • Integrations
  • More Reading and Resources
  • SvelteKit Documentation
  • SvelteKit Tutorial
  • Svelte and SvelteKit chat
  • Independent Creators
  • Svelte Society
  • SvelteKit Repository
  • Wrapping up
  • Summary
  • Resources
  • Index
  • About Packt
  • Other Books You May Enjoy.