Skip to content

Commit

Permalink
feat: 把设计器项目运行起来
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-zuo committed Mar 10, 2024
1 parent 3e961de commit 875e108
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 63 deletions.
34 changes: 4 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,7 @@
<p align="center">
<img width="600" src="https://img.alicdn.com/imgextra/i1/O1CN01bg1tTN1p5ZOPmhKV0_!!6000000005309-55-tps-2200-981.svg">
</p>
# Formily 设计器

---
## 运行

## Introduction
参考:[designable 工程结构](https://www.yuque.com/xjchenhao/development/rncluc#wJc7Z)

If you are worrying about something builder, Such as form builder/table builder/chart builder/app builder etc.
Designable is your perfect choice.

## Screenshot

<img src="https://img.alicdn.com/imgextra/i1/O1CN01UYmA8f1apczHZRygt_!!6000000003379-2-tps-3040-1802.png" style="box-shadow:0px 0px 20px #aaa;border:1px solid #ddd"/>

## Features

- 🚀 High performance, Smooth and beautiful drag and drop experience
- 💡 Full scene coverage
- 🎨 Support Low Code and No Code
- 🏅 Strong scalability

## Website

[playground](https://designable.netlify.app)

## Contributors

This project exists thanks to all the people who contribute.

<p>
<a href="https://github.com/alibaba/designable/graphs/contributors"><img src="https://contrib.rocks/image?repo=alibaba/designable" /></a>
</p>
需要进入 formily/antd 目录,再运行 `npm run start` 左侧面板就能看到很多组件了
15 changes: 8 additions & 7 deletions examples/basic/config/template.ejs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<!DOCTYPE html>
<head>
<title>
Designable Playground
</title>
<title>Designable Playground</title>
</head>
<body>
<div id="root">
</div>
<script type="text/javascript" src="https://unpkg.com/monaco-themes/dist/monaco-themes.js"></script>
<div id="root"></div>
<script
type="text/javascript"
src="https://unpkg.com/monaco-themes/dist/monaco-themes.js"
></script>
<script src="https://unpkg.com/moment/min/moment-with-locales.js"></script>
<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/antd/dist/antd-with-locales.min.js"></script>
</body>
<script src="https://unpkg.com/antd@4.15.2/dist/antd.min.js"></script>
</body>
15 changes: 8 additions & 7 deletions examples/multi-workspace/config/template.ejs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<!DOCTYPE html>
<head>
<title>
Designable Playground
</title>
<title>Designable Playground</title>
</head>
<body>
<div id="root">
</div>
<script type="text/javascript" src="https://unpkg.com/monaco-themes/dist/monaco-themes.js"></script>
<div id="root"></div>
<script
type="text/javascript"
src="https://unpkg.com/monaco-themes/dist/monaco-themes.js"
></script>
<script src="https://unpkg.com/moment/min/moment-with-locales.js"></script>
<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/antd/dist/antd-with-locales.min.js"></script>
</body>
<script src="https://unpkg.com/antd@4.15.2/dist/antd.min.js"></script>
</body>
10 changes: 4 additions & 6 deletions examples/sandbox-multi-workspace/config/template.ejs
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<!DOCTYPE html>
<head>
<title>
Designable Playground
</title>
<title>Designable Playground</title>
</head>
<body>
<div id="root">
</div>
<div id="root"></div>
<script src="https://unpkg.com/@formily/reactive/dist/formily.reactive.umd.production.js"></script>
<script src="https://unpkg.com/moment/min/moment-with-locales.js"></script>
<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/antd/dist/antd-with-locales.min.js"></script>
</body>
<script src="https://unpkg.com/antd@4.15.2/dist/antd.min.js"></script>
</body>
10 changes: 4 additions & 6 deletions examples/sandbox/config/template.ejs
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<!DOCTYPE html>
<head>
<title>
Designable Playground
</title>
<title>Designable Playground</title>
</head>
<body>
<div id="root">
</div>
<div id="root"></div>
<script src="https://unpkg.com/@formily/reactive/dist/formily.reactive.umd.production.js"></script>
<script src="https://unpkg.com/moment/min/moment-with-locales.js"></script>
<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/antd/dist/antd-with-locales.min.js"></script>
</body>
<script src="https://unpkg.com/antd@4.15.2/dist/antd.min.js"></script>
</body>
13 changes: 6 additions & 7 deletions formily/antd/playground/template.ejs
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
<!DOCTYPE html>
<head>
<title>
Designable Playground
</title>
<title>Designable Playground</title>
<style>
html,body{
html,
body {
user-select: none;
-webkit-user-select: none;
}
</style>
</head>
<body>
<div id="root">
</div>
<div id="root"></div>
<script src="https://unpkg.com/moment/min/moment-with-locales.js"></script>
<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/antd/dist/antd-with-locales.min.js"></script>
</body>
<script src="https://unpkg.com/antd@4.15.2/dist/antd.min.js"></script>
</body>

0 comments on commit 875e108

Please sign in to comment.