Skip to content

Commit f3b4efa

Browse files
added custom_comps file in webpack sdk bundle
1 parent 2c1d3ca commit f3b4efa

File tree

8 files changed

+11043
-20
lines changed

8 files changed

+11043
-20
lines changed

client/packages/lowcoder-sdk-webpack-bundle/LICENSE

+661
Large diffs are not rendered by default.

client/packages/lowcoder-sdk-webpack-bundle/index.html

-18
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,6 @@ <h1>App 1</h1>
3030
/>
3131
<div class="lowcoder-module-display"></div>
3232
</div>
33-
<!--* App 1 End *-->
34-
<h1>App 2</h1>
35-
<!--* App 2 Start *-->
36-
<div class="lowcoder-module-container">
37-
<input type="hidden" class="module-id" value="644d3a19b5af567870e62c2a" />
38-
<input
39-
type="hidden"
40-
class="module-input"
41-
value='{"moduleInput1":"test"}'
42-
/>
43-
<input
44-
type="hidden"
45-
class="locoder-backend-url"
46-
value="https://api-service.lowcoder.cloud"
47-
/>
48-
<div class="lowcoder-module-display"></div>
49-
</div>
50-
<!--* App 2 End ** -->
5133

5234
<!--* Required Bundle Script ** -->
5335
<script src="./bundle.js"></script>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# The following redirect is intended for use with most SPAs that handle
2+
# routing internally.
3+
[[redirects]]
4+
from = "/*"
5+
to = "/index.html"
6+
status = 200
7+
8+
[[headers]]
9+
# Define which paths this specific [[headers]] block will cover.
10+
for = "/*"
11+
[headers.values]
12+
Access-Control-Allow-Origin = "*"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width,initial-scale=1" />
7+
<script src="./index_custom_component_files/babel.min.js"></script>
8+
<title>Custom Component</title>
9+
<script
10+
defer="defer"
11+
src="./index_custom_component_files/runtime.351a1318.js"
12+
></script>
13+
<script
14+
defer="defer"
15+
src="./index_custom_component_files/main.ca18aca8.js"
16+
></script>
17+
</head>
18+
<body></body>
19+
</html>

client/packages/lowcoder-sdk-webpack-bundle/src/custom_component/index_custom_component_files/babel.min.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)