Skip to content

Commit 0a2c934

Browse files
committed
fix playground
1 parent 4eea3a9 commit 0a2c934

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

playground/README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
# playground
22

3-
4-
## 运行步骤
5-
### 编译ui-framework
6-
```
7-
yarn build
8-
```
9-
在ui-framework目录下执行编译命令,编译完成后会在dist目录下生成ui-framework的代码包。
10-
11-
123
### 运行实例
134

145
```

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@codingapi/ui-framework": "file:../dist",
6+
"@codingapi/ui-framework": "file:../src",
77
"@types/node": "^16.18.108",
88
"@types/react": "^18.3.5",
99
"@types/react-dom": "^18.3.0",

playground/webpack.common.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
extensions: ['.ts', '.tsx', '.js'],
2121
alias: {
2222
'@': path.resolve(__dirname, 'src'),
23+
'@codingapi/ui-framework': path.resolve(__dirname, '../src'),
2324
},
2425
},
2526
module: {

0 commit comments

Comments
 (0)