SummarySummary 开始之前组件格式 <script><script content=”module”><style> 模版语法 TagsAttributesText expressionHTML expressionIf blocksEach blocksAwait blocksDOM eventsComponent eventsElement bindings Binding related elementsBinding valueMedia element bindingsBinding a DOM node Component bindings {@debug}Element directives class:nameuse:actiontransition:fn Transition参数自定义过渡函数Transition事件 in:fn/out:fnanimate: Animation参数自定义Animation函数 <svelte:self><svelte:component><svelte:window><svelte:body><svelte:head><svelte:options> 运行时 svelte/store writablereadablederivedget svelte/motion tweenedspring svelte/animate flip 编译时 svelte.compilesvelte.parsesvelte.preprocesssvelte.walksvelte.VERSION