woodao-pc-ui 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/babel.config.js +5 -0
- package/jsconfig.json +19 -0
- package/npm_package_error.log +169 -0
- package/npm_package_error2.log +169 -0
- package/npm_package_error3.log +16 -0
- package/package.json +54 -0
- package/public/favicon.ico +0 -0
- package/public/index.html +17 -0
- package/src/App.vue +28 -0
- package/src/assets/logo.png +0 -0
- package/src/main.js +4 -0
- package/src/package/form/baseForm.vue +347 -0
- package/src/package/form/baseFormItem.vue +352 -0
- package/src/package/form/formRender.tsx +16 -0
- package/src/package/form/index.ts +27 -0
- package/src/package/form/selectBySystemCode.vue +235 -0
- package/src/package/index.js +12 -0
- package/src/package/pig-button/index.vue +25 -0
- package/tsconfig.json +19 -0
- package/vue.config.js +4 -0
- package/woodao-pc-ui/demo.html +1 -0
- package/woodao-pc-ui/woodao-pc-ui.common.js +168 -0
- package/woodao-pc-ui/woodao-pc-ui.common.js.map +1 -0
- package/woodao-pc-ui/woodao-pc-ui.css +1 -0
- package/woodao-pc-ui/woodao-pc-ui.umd.js +186 -0
- package/woodao-pc-ui/woodao-pc-ui.umd.js.map +1 -0
- package/woodao-pc-ui/woodao-pc-ui.umd.min.js +2 -0
- package/woodao-pc-ui/woodao-pc-ui.umd.min.js.map +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# woodao-pc-ui
|
|
2
|
+
|
|
3
|
+
## Project setup
|
|
4
|
+
```
|
|
5
|
+
npm install
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
### Compiles and hot-reloads for development
|
|
9
|
+
```
|
|
10
|
+
npm run serve
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Compiles and minifies for production
|
|
14
|
+
```
|
|
15
|
+
npm run build
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### Lints and fixes files
|
|
19
|
+
```
|
|
20
|
+
npm run lint
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Customize configuration
|
|
24
|
+
See [Configuration Reference](https://cli.vuejs.org/config/).
|
package/babel.config.js
ADDED
package/jsconfig.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es5",
|
|
4
|
+
"module": "esnext",
|
|
5
|
+
"baseUrl": "./",
|
|
6
|
+
"moduleResolution": "node",
|
|
7
|
+
"paths": {
|
|
8
|
+
"@/*": [
|
|
9
|
+
"src/*"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"lib": [
|
|
13
|
+
"esnext",
|
|
14
|
+
"dom",
|
|
15
|
+
"dom.iterable",
|
|
16
|
+
"scripthost"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
|
|
2
|
+
> woodao-pc-ui@0.1.0 package D:\woodao-pc-ui\woodao-pc-ui
|
|
3
|
+
> vue-cli-service build --target lib ./src/package/index.js --name woodao-pc-ui --dest woodao-pc-ui
|
|
4
|
+
|
|
5
|
+
All browser targets in the browserslist configuration have supported ES module.
|
|
6
|
+
Therefore we don't build two separate bundles for differential loading.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
powershell : - Building for production as library (commonjs,umd,umd-min)...
|
|
10
|
+
所在位置 行:1 字符: 35
|
|
11
|
+
+ ... dao-pc-ui ; powershell -ExecutionPolicy Bypass -Command npm run packa ...
|
|
12
|
+
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
13
|
+
+ CategoryInfo : NotSpecified: (- Building for...umd,umd-min)...:String) [], Remote
|
|
14
|
+
Exception
|
|
15
|
+
+ FullyQualifiedErrorId : NativeCommandError
|
|
16
|
+
|
|
17
|
+
ERROR Failed to compile with 3 errors10:09:47
|
|
18
|
+
|
|
19
|
+
[eslint]
|
|
20
|
+
D:\woodao-pc-ui\woodao-pc-ui\src\package\form\baseForm.vue
|
|
21
|
+
211:18 error Parsing error: Unexpected token, expected "," (36:18)
|
|
22
|
+
|
|
23
|
+
鉁?1 problem (1 error, 0 warnings)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
You may use special comments to disable some warnings.
|
|
27
|
+
Use // eslint-disable-next-line to ignore the next line.
|
|
28
|
+
Use /* eslint-disable */ to ignore all warnings in a file.
|
|
29
|
+
error in ./src/package/form/baseForm.vue?vue&type=script&lang=ts
|
|
30
|
+
|
|
31
|
+
Module parse failed: Unexpected token (36:18)
|
|
32
|
+
File was processed with these loaders:
|
|
33
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
34
|
+
You may need an additional loader to handle the result of these loaders.
|
|
35
|
+
| },
|
|
36
|
+
| formItems: {
|
|
37
|
+
> type: Array as PropType<Array<FormRenderItem>>,
|
|
38
|
+
| default: () => {
|
|
39
|
+
| return [];
|
|
40
|
+
|
|
41
|
+
error in ./src/package/form/baseForm.vue?vue&type=template&id=0d9a781e&scoped=true&ts=true
|
|
42
|
+
|
|
43
|
+
Module parse failed: Unexpected token (28:27)
|
|
44
|
+
File was processed with these loaders:
|
|
45
|
+
* ./node_modules/vue-loader/dist/templateLoader.js
|
|
46
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
47
|
+
You may need an additional loader to handle the result of these loaders.
|
|
48
|
+
| }
|
|
49
|
+
|
|
|
50
|
+
> export function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {
|
|
51
|
+
| const _component_QuestionFilled = _resolveComponent("QuestionFilled")!
|
|
52
|
+
| const _component_el_icon = _resolveComponent("el-icon")!
|
|
53
|
+
|
|
54
|
+
ERROR Failed to compile with 3 errors10:09:47
|
|
55
|
+
|
|
56
|
+
[eslint]
|
|
57
|
+
D:\woodao-pc-ui\woodao-pc-ui\src\package\form\baseForm.vue
|
|
58
|
+
211:18 error Parsing error: Unexpected token, expected "," (36:18)
|
|
59
|
+
|
|
60
|
+
鉁?1 problem (1 error, 0 warnings)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
You may use special comments to disable some warnings.
|
|
64
|
+
Use // eslint-disable-next-line to ignore the next line.
|
|
65
|
+
Use /* eslint-disable */ to ignore all warnings in a file.
|
|
66
|
+
error in ./src/package/form/baseForm.vue?vue&type=script&lang=ts
|
|
67
|
+
|
|
68
|
+
Module parse failed: Unexpected token (36:18)
|
|
69
|
+
File was processed with these loaders:
|
|
70
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
71
|
+
You may need an additional loader to handle the result of these loaders.
|
|
72
|
+
| },
|
|
73
|
+
| formItems: {
|
|
74
|
+
> type: Array as PropType<Array<FormRenderItem>>,
|
|
75
|
+
| default: () => {
|
|
76
|
+
| return [];
|
|
77
|
+
|
|
78
|
+
error in ./src/package/form/baseForm.vue?vue&type=template&id=0d9a781e&scoped=true&ts=true
|
|
79
|
+
|
|
80
|
+
Module parse failed: Unexpected token (28:27)
|
|
81
|
+
File was processed with these loaders:
|
|
82
|
+
* ./node_modules/vue-loader/dist/templateLoader.js
|
|
83
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
84
|
+
You may need an additional loader to handle the result of these loaders.
|
|
85
|
+
| }
|
|
86
|
+
|
|
|
87
|
+
> export function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {
|
|
88
|
+
| const _component_QuestionFilled = _resolveComponent("QuestionFilled")!
|
|
89
|
+
| const _component_el_icon = _resolveComponent("el-icon")!
|
|
90
|
+
|
|
91
|
+
ERROR Failed to compile with 3 errors10:09:49
|
|
92
|
+
|
|
93
|
+
[eslint]
|
|
94
|
+
D:\woodao-pc-ui\woodao-pc-ui\src\package\form\baseForm.vue
|
|
95
|
+
211:18 error Parsing error: Unexpected token, expected "," (36:18)
|
|
96
|
+
|
|
97
|
+
鉁?1 problem (1 error, 0 warnings)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
You may use special comments to disable some warnings.
|
|
101
|
+
Use // eslint-disable-next-line to ignore the next line.
|
|
102
|
+
Use /* eslint-disable */ to ignore all warnings in a file.
|
|
103
|
+
error in ./src/package/form/baseForm.vue?vue&type=script&lang=ts
|
|
104
|
+
|
|
105
|
+
Module parse failed: Unexpected token (36:18)
|
|
106
|
+
File was processed with these loaders:
|
|
107
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
108
|
+
You may need an additional loader to handle the result of these loaders.
|
|
109
|
+
| },
|
|
110
|
+
| formItems: {
|
|
111
|
+
> type: Array as PropType<Array<FormRenderItem>>,
|
|
112
|
+
| default: () => {
|
|
113
|
+
| return [];
|
|
114
|
+
|
|
115
|
+
error in ./src/package/form/baseForm.vue?vue&type=template&id=0d9a781e&scoped=true&ts=true
|
|
116
|
+
|
|
117
|
+
Module parse failed: Unexpected token (28:27)
|
|
118
|
+
File was processed with these loaders:
|
|
119
|
+
* ./node_modules/vue-loader/dist/templateLoader.js
|
|
120
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
121
|
+
You may need an additional loader to handle the result of these loaders.
|
|
122
|
+
| }
|
|
123
|
+
|
|
|
124
|
+
> export function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {
|
|
125
|
+
| const _component_QuestionFilled = _resolveComponent("QuestionFilled")!
|
|
126
|
+
| const _component_el_icon = _resolveComponent("el-icon")!
|
|
127
|
+
|
|
128
|
+
ERROR Error: Build failed with errors.
|
|
129
|
+
Error: Build failed with errors.
|
|
130
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\@vue\cli-service\lib\commands\build\index.js:207:
|
|
131
|
+
23
|
|
132
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\webpack.js:172:8
|
|
133
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\MultiCompiler.js:662:5
|
|
134
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\neo-async\async.js:2830:7
|
|
135
|
+
at done (D:\woodao-pc-ui\woodao-pc-ui\node_modules\neo-async\async.js:2865:11)
|
|
136
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\neo-async\async.js:2818:7
|
|
137
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\HookWebpackError.js:68:2
|
|
138
|
+
at Hook.eval [as callAsync] (eval at create (D:\woodao-pc-ui\woodao-pc-ui\node_modules\tapable
|
|
139
|
+
\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
|
|
140
|
+
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (D:\woodao-pc-ui\woodao-pc-ui\node_modules\tapable
|
|
141
|
+
\lib\Hook.js:20:14)
|
|
142
|
+
at Cache.shutdown (D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\Cache.js:156:23)
|
|
143
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\Compiler.js:1406:15
|
|
144
|
+
at Hook.eval [as callAsync] (eval at create (D:\woodao-pc-ui\woodao-pc-ui\node_modules\tapable
|
|
145
|
+
\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
|
|
146
|
+
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (D:\woodao-pc-ui\woodao-pc-ui\node_modules\tapable
|
|
147
|
+
\lib\Hook.js:20:14)
|
|
148
|
+
at Compiler.close (D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\Compiler.js:1399:23)
|
|
149
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\MultiCompiler.js:659:14
|
|
150
|
+
at arrayEach (D:\woodao-pc-ui\woodao-pc-ui\node_modules\neo-async\async.js:2405:9)
|
|
151
|
+
at Object.each (D:\woodao-pc-ui\woodao-pc-ui\node_modules\neo-async\async.js:2846:9)
|
|
152
|
+
at MultiCompiler.close (D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\MultiCompiler.js
|
|
153
|
+
:656:12)
|
|
154
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\webpack.js:171:16
|
|
155
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\MultiCompiler.js:636:14
|
|
156
|
+
at processQueueWorker (D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\MultiCompiler.js:
|
|
157
|
+
573:6)
|
|
158
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
|
|
159
|
+
npm ERR! code ELIFECYCLE
|
|
160
|
+
npm ERR! errno 1
|
|
161
|
+
npm ERR! woodao-pc-ui@0.1.0 package: `vue-cli-service build --target lib ./src/package/index.js --
|
|
162
|
+
name woodao-pc-ui --dest woodao-pc-ui`
|
|
163
|
+
npm ERR! Exit status 1
|
|
164
|
+
npm ERR!
|
|
165
|
+
npm ERR! Failed at the woodao-pc-ui@0.1.0 package script.
|
|
166
|
+
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
|
|
167
|
+
|
|
168
|
+
npm ERR! A complete log of this run can be found in:
|
|
169
|
+
npm ERR! C:\Users\87830\AppData\Roaming\npm-cache\_logs\2025-08-19T02_09_49_440Z-debug.log
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
|
|
2
|
+
> woodao-pc-ui@0.1.0 package D:\woodao-pc-ui\woodao-pc-ui
|
|
3
|
+
> vue-cli-service build --target lib ./src/package/index.js --name woodao-pc-ui --dest woodao-pc-ui
|
|
4
|
+
|
|
5
|
+
All browser targets in the browserslist configuration have supported ES module.
|
|
6
|
+
Therefore we don't build two separate bundles for differential loading.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
powershell : - Building for production as library (commonjs,umd,umd-min)...
|
|
10
|
+
所在位置 行:1 字符: 35
|
|
11
|
+
+ ... dao-pc-ui ; powershell -ExecutionPolicy Bypass -Command npm run packa ...
|
|
12
|
+
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
13
|
+
+ CategoryInfo : NotSpecified: (- Building for...umd,umd-min)...:String) [], Remote
|
|
14
|
+
Exception
|
|
15
|
+
+ FullyQualifiedErrorId : NativeCommandError
|
|
16
|
+
|
|
17
|
+
ERROR Failed to compile with 3 errors10:11:44
|
|
18
|
+
|
|
19
|
+
[eslint]
|
|
20
|
+
D:\woodao-pc-ui\woodao-pc-ui\src\package\form\baseForm.vue
|
|
21
|
+
219:38 error Parsing error: Unexpected token (44:38)
|
|
22
|
+
|
|
23
|
+
鉁?1 problem (1 error, 0 warnings)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
You may use special comments to disable some warnings.
|
|
27
|
+
Use // eslint-disable-next-line to ignore the next line.
|
|
28
|
+
Use /* eslint-disable */ to ignore all warnings in a file.
|
|
29
|
+
error in ./src/package/form/baseForm.vue?vue&type=script&lang=ts
|
|
30
|
+
|
|
31
|
+
Module parse failed: Unexpected token (44:38)
|
|
32
|
+
File was processed with these loaders:
|
|
33
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
34
|
+
You may need an additional loader to handle the result of these loaders.
|
|
35
|
+
| },
|
|
36
|
+
| setup(props, { expose,emit }) {
|
|
37
|
+
> const formRef = ref<FormInstance>()
|
|
38
|
+
| const submitForm = (formEl: FormInstance | undefined) => {
|
|
39
|
+
| if (!formEl) return
|
|
40
|
+
|
|
41
|
+
error in ./src/package/form/baseForm.vue?vue&type=template&id=39d27f2e&scoped=true&ts=true
|
|
42
|
+
|
|
43
|
+
Module parse failed: Unexpected token (28:27)
|
|
44
|
+
File was processed with these loaders:
|
|
45
|
+
* ./node_modules/vue-loader/dist/templateLoader.js
|
|
46
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
47
|
+
You may need an additional loader to handle the result of these loaders.
|
|
48
|
+
| }
|
|
49
|
+
|
|
|
50
|
+
> export function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {
|
|
51
|
+
| const _component_QuestionFilled = _resolveComponent("QuestionFilled")!
|
|
52
|
+
| const _component_el_icon = _resolveComponent("el-icon")!
|
|
53
|
+
|
|
54
|
+
ERROR Failed to compile with 3 errors10:11:44
|
|
55
|
+
|
|
56
|
+
[eslint]
|
|
57
|
+
D:\woodao-pc-ui\woodao-pc-ui\src\package\form\baseForm.vue
|
|
58
|
+
219:38 error Parsing error: Unexpected token (44:38)
|
|
59
|
+
|
|
60
|
+
鉁?1 problem (1 error, 0 warnings)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
You may use special comments to disable some warnings.
|
|
64
|
+
Use // eslint-disable-next-line to ignore the next line.
|
|
65
|
+
Use /* eslint-disable */ to ignore all warnings in a file.
|
|
66
|
+
error in ./src/package/form/baseForm.vue?vue&type=script&lang=ts
|
|
67
|
+
|
|
68
|
+
Module parse failed: Unexpected token (44:38)
|
|
69
|
+
File was processed with these loaders:
|
|
70
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
71
|
+
You may need an additional loader to handle the result of these loaders.
|
|
72
|
+
| },
|
|
73
|
+
| setup(props, { expose,emit }) {
|
|
74
|
+
> const formRef = ref<FormInstance>()
|
|
75
|
+
| const submitForm = (formEl: FormInstance | undefined) => {
|
|
76
|
+
| if (!formEl) return
|
|
77
|
+
|
|
78
|
+
error in ./src/package/form/baseForm.vue?vue&type=template&id=39d27f2e&scoped=true&ts=true
|
|
79
|
+
|
|
80
|
+
Module parse failed: Unexpected token (28:27)
|
|
81
|
+
File was processed with these loaders:
|
|
82
|
+
* ./node_modules/vue-loader/dist/templateLoader.js
|
|
83
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
84
|
+
You may need an additional loader to handle the result of these loaders.
|
|
85
|
+
| }
|
|
86
|
+
|
|
|
87
|
+
> export function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {
|
|
88
|
+
| const _component_QuestionFilled = _resolveComponent("QuestionFilled")!
|
|
89
|
+
| const _component_el_icon = _resolveComponent("el-icon")!
|
|
90
|
+
|
|
91
|
+
ERROR Failed to compile with 3 errors10:11:47
|
|
92
|
+
|
|
93
|
+
[eslint]
|
|
94
|
+
D:\woodao-pc-ui\woodao-pc-ui\src\package\form\baseForm.vue
|
|
95
|
+
219:38 error Parsing error: Unexpected token (44:38)
|
|
96
|
+
|
|
97
|
+
鉁?1 problem (1 error, 0 warnings)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
You may use special comments to disable some warnings.
|
|
101
|
+
Use // eslint-disable-next-line to ignore the next line.
|
|
102
|
+
Use /* eslint-disable */ to ignore all warnings in a file.
|
|
103
|
+
error in ./src/package/form/baseForm.vue?vue&type=script&lang=ts
|
|
104
|
+
|
|
105
|
+
Module parse failed: Unexpected token (44:38)
|
|
106
|
+
File was processed with these loaders:
|
|
107
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
108
|
+
You may need an additional loader to handle the result of these loaders.
|
|
109
|
+
| },
|
|
110
|
+
| setup(props, { expose,emit }) {
|
|
111
|
+
> const formRef = ref<FormInstance>()
|
|
112
|
+
| const submitForm = (formEl: FormInstance | undefined) => {
|
|
113
|
+
| if (!formEl) return
|
|
114
|
+
|
|
115
|
+
error in ./src/package/form/baseForm.vue?vue&type=template&id=39d27f2e&scoped=true&ts=true
|
|
116
|
+
|
|
117
|
+
Module parse failed: Unexpected token (28:27)
|
|
118
|
+
File was processed with these loaders:
|
|
119
|
+
* ./node_modules/vue-loader/dist/templateLoader.js
|
|
120
|
+
* ./node_modules/vue-loader/dist/index.js
|
|
121
|
+
You may need an additional loader to handle the result of these loaders.
|
|
122
|
+
| }
|
|
123
|
+
|
|
|
124
|
+
> export function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {
|
|
125
|
+
| const _component_QuestionFilled = _resolveComponent("QuestionFilled")!
|
|
126
|
+
| const _component_el_icon = _resolveComponent("el-icon")!
|
|
127
|
+
|
|
128
|
+
ERROR Error: Build failed with errors.
|
|
129
|
+
Error: Build failed with errors.
|
|
130
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\@vue\cli-service\lib\commands\build\index.js:207:
|
|
131
|
+
23
|
|
132
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\webpack.js:172:8
|
|
133
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\MultiCompiler.js:662:5
|
|
134
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\neo-async\async.js:2830:7
|
|
135
|
+
at done (D:\woodao-pc-ui\woodao-pc-ui\node_modules\neo-async\async.js:2865:11)
|
|
136
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\neo-async\async.js:2818:7
|
|
137
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\HookWebpackError.js:68:2
|
|
138
|
+
at Hook.eval [as callAsync] (eval at create (D:\woodao-pc-ui\woodao-pc-ui\node_modules\tapable
|
|
139
|
+
\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
|
|
140
|
+
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (D:\woodao-pc-ui\woodao-pc-ui\node_modules\tapable
|
|
141
|
+
\lib\Hook.js:20:14)
|
|
142
|
+
at Cache.shutdown (D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\Cache.js:156:23)
|
|
143
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\Compiler.js:1406:15
|
|
144
|
+
at Hook.eval [as callAsync] (eval at create (D:\woodao-pc-ui\woodao-pc-ui\node_modules\tapable
|
|
145
|
+
\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
|
|
146
|
+
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (D:\woodao-pc-ui\woodao-pc-ui\node_modules\tapable
|
|
147
|
+
\lib\Hook.js:20:14)
|
|
148
|
+
at Compiler.close (D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\Compiler.js:1399:23)
|
|
149
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\MultiCompiler.js:659:14
|
|
150
|
+
at arrayEach (D:\woodao-pc-ui\woodao-pc-ui\node_modules\neo-async\async.js:2405:9)
|
|
151
|
+
at Object.each (D:\woodao-pc-ui\woodao-pc-ui\node_modules\neo-async\async.js:2846:9)
|
|
152
|
+
at MultiCompiler.close (D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\MultiCompiler.js
|
|
153
|
+
:656:12)
|
|
154
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\webpack.js:171:16
|
|
155
|
+
at D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\MultiCompiler.js:636:14
|
|
156
|
+
at processQueueWorker (D:\woodao-pc-ui\woodao-pc-ui\node_modules\webpack\lib\MultiCompiler.js:
|
|
157
|
+
573:6)
|
|
158
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
|
|
159
|
+
npm ERR! code ELIFECYCLE
|
|
160
|
+
npm ERR! errno 1
|
|
161
|
+
npm ERR! woodao-pc-ui@0.1.0 package: `vue-cli-service build --target lib ./src/package/index.js --
|
|
162
|
+
name woodao-pc-ui --dest woodao-pc-ui`
|
|
163
|
+
npm ERR! Exit status 1
|
|
164
|
+
npm ERR!
|
|
165
|
+
npm ERR! Failed at the woodao-pc-ui@0.1.0 package script.
|
|
166
|
+
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
|
|
167
|
+
|
|
168
|
+
npm ERR! A complete log of this run can be found in:
|
|
169
|
+
npm ERR! C:\Users\87830\AppData\Roaming\npm-cache\_logs\2025-08-19T02_11_47_161Z-debug.log
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
> woodao-pc-ui@0.1.0 package D:\woodao-pc-ui\woodao-pc-ui
|
|
3
|
+
> vue-cli-service build --target lib ./src/package/index.js --name woodao-pc-ui --dest woodao-pc-ui
|
|
4
|
+
|
|
5
|
+
All browser targets in the browserslist configuration have supported ES module.
|
|
6
|
+
Therefore we don't build two separate bundles for differential loading.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
powershell : - Building for production as library (commonjs,umd,umd-min)...
|
|
10
|
+
所在位置 行:1 字符: 35
|
|
11
|
+
+ ... dao-pc-ui ; powershell -ExecutionPolicy Bypass -Command npm run packa ...
|
|
12
|
+
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
13
|
+
+ CategoryInfo : NotSpecified: (- Building for...umd,umd-min)...:String) [], Remote
|
|
14
|
+
Exception
|
|
15
|
+
+ FullyQualifiedErrorId : NativeCommandError
|
|
16
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "woodao-pc-ui",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"serve": "vue-cli-service serve",
|
|
7
|
+
"build": "vue-cli-service build",
|
|
8
|
+
"lint": "vue-cli-service lint",
|
|
9
|
+
"package": "vue-cli-service build --target lib ./src/package/index.js --name woodao-pc-ui --dest woodao-pc-ui"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"core-js": "^3.8.3",
|
|
13
|
+
"element-plus": "^2.10.7",
|
|
14
|
+
"vue": "^3.2.13"
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@babel/core": "^7.12.16",
|
|
18
|
+
"@babel/eslint-parser": "^7.12.16",
|
|
19
|
+
"@vue/cli-plugin-babel": "~5.0.0",
|
|
20
|
+
"@vue/cli-plugin-eslint": "~5.0.0",
|
|
21
|
+
"@vue/cli-service": "~5.0.0",
|
|
22
|
+
"@vue/compiler-sfc": "^3.5.18",
|
|
23
|
+
"eslint": "^7.32.0",
|
|
24
|
+
"eslint-plugin-vue": "^8.0.3",
|
|
25
|
+
"sass": "^1.90.0",
|
|
26
|
+
"sass-loader": "^16.0.5",
|
|
27
|
+
"typescript": "^5.9.2"
|
|
28
|
+
},
|
|
29
|
+
"eslintConfig": {
|
|
30
|
+
"root": true,
|
|
31
|
+
"env": {
|
|
32
|
+
"node": true
|
|
33
|
+
},
|
|
34
|
+
"extends": [
|
|
35
|
+
"plugin:vue/vue3-essential",
|
|
36
|
+
"eslint:recommended"
|
|
37
|
+
],
|
|
38
|
+
"parserOptions": {
|
|
39
|
+
"parser": "@babel/eslint-parser"
|
|
40
|
+
},
|
|
41
|
+
"rules": {}
|
|
42
|
+
},
|
|
43
|
+
"browserslist": [
|
|
44
|
+
"> 1%",
|
|
45
|
+
"last 2 versions",
|
|
46
|
+
"not dead",
|
|
47
|
+
"not ie 11"
|
|
48
|
+
],
|
|
49
|
+
"description": "## Project setup ``` npm install ```",
|
|
50
|
+
"main": "babel.config.js",
|
|
51
|
+
"keywords": [],
|
|
52
|
+
"author": "",
|
|
53
|
+
"license": "ISC"
|
|
54
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
+
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
8
|
+
<title><%= htmlWebpackPlugin.options.title %></title>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<noscript>
|
|
12
|
+
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
13
|
+
</noscript>
|
|
14
|
+
<div id="app"></div>
|
|
15
|
+
<!-- built files will be auto injected -->
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
package/src/App.vue
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
|
|
4
|
+
</div>
|
|
5
|
+
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
name: 'App',
|
|
13
|
+
components: {
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<style>
|
|
20
|
+
#app {
|
|
21
|
+
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
22
|
+
-webkit-font-smoothing: antialiased;
|
|
23
|
+
-moz-osx-font-smoothing: grayscale;
|
|
24
|
+
text-align: center;
|
|
25
|
+
color: #2c3e50;
|
|
26
|
+
margin-top: 60px;
|
|
27
|
+
}
|
|
28
|
+
</style>
|
|
Binary file
|
package/src/main.js
ADDED