fix(example): issue with gh-pages deploy
This commit is contained in:
parent
efc06a9639
commit
c133ba5a20
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -26,4 +26,4 @@ jobs:
|
|||||||
run: 'npm run build'
|
run: 'npm run build'
|
||||||
|
|
||||||
- name: 'Build Example'
|
- name: 'Build Example'
|
||||||
run: 'cd example && npm ci && npm run build -- --public-url "https://divlo.github.io/react-component-form/"'
|
run: 'cd example && npm ci && npm run build'
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "parcel index.html",
|
"start": "parcel index.html",
|
||||||
"build": "parcel build index.html"
|
"build": "parcel build index.html --public-url '/react-component-form/'"
|
||||||
},
|
},
|
||||||
"alias": {
|
"alias": {
|
||||||
"react": "../node_modules/react",
|
"react": "../node_modules/react",
|
||||||
|
Reference in New Issue
Block a user