Skip to content
项目

solidjs/solid-playground

在 GitHub 查看

关于

Quickly discover what the solid compiler will generate from your JSX template

编程语言与运行时

这些数字如何统计

实测星标增长

24小时
0
7天
+2
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Solid Playground

Solid Template Explorer

This is the source code of the solid playground website. Through it you can quickly discover what the solid compiler will generate from your JSX templates.

There are 4 compile modes available:

  • DOM: The classic SPA generation mechanism
  • SSR: The server side generation mechanism
  • HYDRATION: The client side generation for hydration
  • UNIVERSAL: The client side generation for universal (custom renderer)

Getting up and running

This project is built using the pnpm package manager.

Once you have it installed, follow these steps to get a fully working environment:

# Clone the project
$ git clone https://github.com/solidjs/solid-playground

# cd into the project and install the dependencies
$ cd solid-playground && pnpm i

# Start the dev server, the address is available at http://localhost:5173
$ pnpm run dev

# Build the project
$ pnpm run build

Credits / Technologies used

  • solid-js: The view library
  • @babel/standalone: The in-browser compiler. Solid compiler relies on babel
  • CodeMirror: The in-browser code editor, backed by the TypeScript language service and ESLint in a web worker
  • dockview: The panel layout
  • Panda CSS: The CSS framework
  • Zag: The UI state machines
  • vite: The module bundler
  • pnpm: The package manager
  • lz-string: The string compression algorithm used by legacy share links

探索相关项目

加载中…