-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
14,603 additions
and
291 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# alpha mode, used by the "build:alpha" script | ||
|
||
NODE_ENV=production | ||
VITE_CDN_DOMAIN=https://npm.onmicrosoft.cn | ||
VITE_LOCAL_IMPORT_MAPS=false | ||
VITE_LOCAL_BUNDLE_DEPS=false | ||
# VITE_ORIGIN= | ||
|
||
# 错误监控上报 url | ||
VITE_ERROR_MONITOR_URL=/platform-center/api/platform/monitoring/event | ||
# 是否开启错误监控 | ||
VITE_ERROR_MONITOR=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# development mode, used by the "vite" command | ||
|
||
NODE_ENV=development | ||
VITE_CDN_DOMAIN=https://npm.onmicrosoft.cn | ||
VITE_LOCAL_IMPORT_MAPS=false | ||
VITE_LOCAL_BUNDLE_DEPS=false | ||
# request data via alpha service | ||
# VITE_ORIGIN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# prod mode, used by the "build:prod" script | ||
|
||
NODE_ENV=production | ||
VITE_CDN_DOMAIN=https://npm.onmicrosoft.cn | ||
VITE_LOCAL_IMPORT_MAPS=false | ||
VITE_LOCAL_BUNDLE_DEPS=false | ||
#VITE_ORIGIN= |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "designer-demo", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "cross-env VITE_THEME=light vite", | ||
"build": "cross-env VITE_THEME=light vite build" | ||
}, | ||
"dependencies": { | ||
"vue": "^3.4.21", | ||
"@opentiny/tiny-engine": "latest", | ||
"@opentiny/tiny-engine-entry": "latest", | ||
"@opentiny/tiny-engine-configurator": "latest", | ||
"@opentiny/tiny-engine-theme-dark": "latest", | ||
"@opentiny/tiny-engine-theme-light": "latest", | ||
"@opentiny/vue": "~3.14.0", | ||
"@opentiny/vue-design-smb": "~3.14.0", | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-theme": "~3.14.0" | ||
}, | ||
"devDependencies": { | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"cross-env": "^7.0.3", | ||
"vite": "^5.2.7", | ||
"@opentiny/tiny-engine-vite-config": "latest", | ||
"@opentiny/tiny-engine-vite-plugin-meta-comments": "latest" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Design Core Preview</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="./src/preview.js"></script> | ||
</body> | ||
</html> |
Binary file not shown.
Oops, something went wrong.