Sizzy - 看看你的网站在不同设备上的显示效果

2,788 阅读1分钟
原文链接: github.com

Sizzy

Sizzy

A tool for developing responsive websites crazy-fast, made by @thekitze


OpenCollective OpenCollective

gif

Sharing with an url

Add ?url=http://your-url.com at the end of the url to share it with a preloaded url.

Example: sizzy.co?url=https://preactjs.c…

Getting Started

  1. Install the dependencies:
yarn install
  1. Start the server:
yarn start
  1. Open it in your browser http://localhost:3033/

Dev issues

Getting module not found errors

error

Files are imported from their absolute paths instead of their relative paths to avoid repeating ../../../../ when requiring files. Unfortunately on some machines, the NODE_PATH=./src rule from the .env file doesn't get applied, as mentioned in this issue.

Temporary solution is to run export NODE_PATH=./src in the terminal, before running yarn start.

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]