Skip to content

Commit

Permalink
feat: use the latest @ice/app and add tips for @ice/stark scaffold (#232
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ClarkXia authored Dec 25, 2023
1 parent 249015b commit 65c5423
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scaffolds/ice3-antd-pro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ice/antd-pro-scaffold",
"version": "1.2.1",
"version": "1.2.2",
"description": "ice.js 3 Pro 模板(基于 Ant Design)",
"files": [
"src/",
Expand All @@ -26,7 +26,7 @@
},
"devDependencies": {
"@applint/spec": "^1.2.3",
"@ice/app": "^3.3.0",
"@ice/app": "^3.4.0",
"@ice/plugin-auth": "^1.0.0",
"@ice/plugin-request": "^1.0.0",
"@ice/plugin-store": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion scaffolds/ice3-icestark-layout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@icedesign/stark-layout",
"version": "1.0.4",
"version": "1.0.5",
"description": "微前端方案 icestark 的主应用模板,用于快速初始化主应用",
"homepage": "https://icestark-react.surge.sh",
"dependencies": {
Expand Down
3 changes: 3 additions & 0 deletions scaffolds/ice3-icestark-layout/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ export const icestark = defineFrameworkConfig(() => ({
getApps: () => ([{
path: '/seller',
title: '商家平台',
// Important!!
// Use loadScriptMode: 'fetch' to load child app source code when child app is not build by vite.
// Visit https://micro-frontends.ice.work/docs/api/ice-stark/#loadscriptmode- to get more details.
loadScriptMode: 'import',
entry: 'https://iceworks.oss-cn-hangzhou.aliyuncs.com/icestark/child-seller-ice-vite/index.html',
}, {
Expand Down
4 changes: 2 additions & 2 deletions scaffolds/ice3-lite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ice/lite-scaffold",
"version": "1.2.0",
"version": "1.2.1",
"description": "A new ice.js project.",
"files": [
"src/",
Expand All @@ -19,7 +19,7 @@
},
"devDependencies": {
"@applint/spec": "^1.2.3",
"@ice/app": "^3.3.0",
"@ice/app": "^3.4.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/node": "^18.11.17",
Expand Down

0 comments on commit 65c5423

Please sign in to comment.