ここはSvelte日本コミュニティによるSvelteの日本語サイトです (リポジトリはこちら)。 公式サイトをお探しの場合はsvelte.devへどうぞ。

Svelte

Svelte logo
Svelte logotype

サイバネティクスで強化されたWebアプリ

Svelteはユーザーインタフェースを構築する先鋭的で新しいアプローチです。ReactやVueのような従来のフレームワークがその作業の大部分をブラウザーで行うのに対し、Svelteは、その作業をアプリをビルドする際のコンパイル時に行います。

Svelteは、仮想DOMによる差分検出のようなテクニックを使用する代わりに、アプリケーションの状態が変化したときにDOMを外科的に更新するコードを生成します。

もっと詳しく知りたい方はこちらの紹介ブログ記事をご覧ください。

npx degit sveltejs/template my-svelte-project
# または、こちらのzipファイルをダウンロードして解凍してください:zip file
cd my-svelte-project
# もしTypeScriptを使用する場合はこちらを実行してください
# node scripts/setupTypeScript.js

npm install
npm run dev
		

もっと詳しく知りたい方はこちらのquickstart guideをご覧ください。

Svelteを学ぶ

Svelte components are built on top of HTML. Just add data.

CSS is component-scoped by default — no more style collisions or specificity wars. Or you can use your favourite CSS-in-JS library.

Trigger efficient, granular updates by assigning to local variables. The compiler does the rest.

Build beautiful UIs with a powerful, performant transition engine built right into the framework.

Who's using Svelte?

Contributors

Svelte is free and open source software, made possible by the work of dozens of volunteers. Join us!

Rich-Harris Conduitry tanhauhau benmccann Swatinem lukeed jacwright mindrones dummdidumm mrkishi ekhaled antony EmilTholin pngwn zxbodya btk5h jches tivac PaulBGD GarrettGeorge btakita FWeinb pushkine halfnelson evs-chris colincasey jamesbirtles TehShrike jacobmischka d3sandoval geoffrich kaisermann Panya sanderhahn aphitiel skippednote MattiasBuelens ehrencrona dimfeld sw-yx Harald-1 Axelen123 m59peacemaker taylorzane leporo dkondrad stalkerg thollander esarbanis hperrin LostKobrakai jesseskinner CreaturesInUnitards peopledrivemecrazy umanghome emilos kevmodrome Vages AlexxNB AlbertLucianto cristinecula MikeMatrix arxpoetica shinnn stephane-vanraes timhall Wolfr bre30kra69cs milahu 123aswin123 efeskucuk ItalyPaleAle andrelmlins bwbroersma clarkdo hong4rc ignatiusmb ElectronSz SomaticIT NitayRabi orta PaulMaly samuelgozi js2me trbrc 43081j BillyLevin dmitrykurmanov aarongeorge arackaf industral allantito almaz-khan amwmedia anthonylegoas benlesh bfanger CMessinides chrishelgert Crisfole funkybob membranophonist deanmcpherson neoel dreitzner dominikg SrZorro ceifa Jingmnt johnmuhl zlsa nosovk lukasmoellerch matt3224 mattwolff mhmd-22 nikku oguzhaninan PKlknr plmrry varholak-peter RobinCsl sercaneraslan kyrylkov vascoosx SteveALee Th0rN13 thgh timdeschryver saibotsivad cvlab adrian5 cayasso cudr dasZGFz cbolgiano fivemru gabysantosw martinandert mustafa0x elliotwaite fjorgemota vaibhav111tandon davidaq rixo vedam ogre-yoga adam-bates adamdune 1wheel ooade JitPackJoyride Alaricus Lumm1t alexiglesias93 alexnoz Pierstoval Alex-CS aorel AlexandreCantin AlexGalays MeuhMeuh AmirHosseinHmd1 Phaqui andreieftimie gilgameshskytrooper talklittle abruere ankeetmaini aredridel arthurdenner acstll guzart AshishKapoor RedHatter el1f babakfp webdesq remotelydev bashunaimiroy benoror palewire benschac rster2002 bdougherty korywka blittle c0bra bsssshhhhhhh cj81499 Orbyt camjackson caroso1222 InsanityOnABun Cleecanth chris-morgan caengen christianheine klaussner clebert dalemartyn damianpumar dkzlv DanielPower himynameisdave davebrent davedawkins davemo daybrush debargharoy Kapsonfire-DE widyakumara dogagenc cornerfarmer StarpTech EddyVinck EmNudge ematipico enstyled ericdfields ersin-ertan skrifblokk evanmoncuso vilarfg fielding fraserdarwent Gabswim gautamkrishnar GeopJr gonfva gka hbirler Denhai hchatel IlyaSemenov newbornfrontender irshad irshadshalu ilblog IvanSanchez j-delaney beegan jackyef lunchboxer jthegedus foucist Rukenshia jatinhemnani01 JeremyBernier Joxtacy jesmrie jwicks31 neorth johman10 dravog7 6eDesign Jongkeun jonniek kesne jormaj tel JounQin joaopaulobdac getkey pyoner vitalragaz kjj6198 Karsten7 khtdr netaisllc lewoudar kieranbarker Kiho atomAltera lawrencelogoh leereamsnyder div-Leo leomarquine axil itsliamegan lode lorenbrichter lguzzon confraria lyndsysimon jasonlyu123 habibrosyad baslr MShuttle marvinhagemeister mahenrique94 mdempsky spaceinvadev maxmilton mikedubcurry majkelbed mterczynski mkhan45 mtlewis khorpy macmillen stokesman Milesq Mlocik97 haond10adp nick-vincent nicolasmgaray charpeni jacoux quantuminformation njbotkin nolanlawson odjhey Olanetsoft omeraplak lovasoa oscard0m oscarmattsson outloudvi vp2177 paulocoghi pboling blackwolf12333 RAYDENFilipp michaelphipps hontas raitalharehman rajnandan1 retotrinkler rihardsgravis rohanfaiyazkhan rohankokane 91k roychoo rmariuzzo ItzaMi ryanatkn samccone hantatsang mrsauravsahu scottbedard eps1lon sebastian-stephan shakhbulatgaz lenovouser john7doe Softmus CyberAP buhrmi sdemjanenko StevenWeathers teymour-aldridge TheJaredWilcurt ThomasFerro tiberiuc Gohlisch timgates42 tcrowe thelgevold VarunDevPro Ti-webdev venkateshwarans FlipFloop vidaren vidit1999 SleepyWerewolf supermooshman Vulwsztyn jakutis wlockiv yesmeck Spice-Z Zachiah Zirro arggh eh-dub benib burningTyger craigglennie decaylala dmitrage fiskgrodan gltchitm hmt hville igoradamenko infuzz izumiiii jamesgeorge007 jasdeepgill jpsc julian-kuroiwa zhoukekestar kindoflew lonevox mattstobbs mellisdesigns munrocket nhducit nomnomnomnom orange4glace priyanjitdey94 pynnl raveling rdb red-meadow rmacklin rqrqrqrq rykiplov simeydotme vlasy voldemortensen ZerdoX-x warmrobot juzhiyuan Ding-Fan