Closed LingkKang closed 8 months ago
Additionally, after either way of fixing, the following step on prerelease-build
can be removed:
I can submit a subsequent commit on it if needed.
public
dir is for resources including images and fonts or other stuff for the frontend.
Our project currently does not have such resources. However, all resources for the frontend should go into that dir, if there is any. So, adding one empty .gitignore
should work.
Additionally, after either way of fixing, the following step on
prerelease-build
can be removed:I can submit a subsequent commit on it if needed.
Thanks, that would be nice.
public dir is for resources including images and fonts or other stuff for the frontend. Our project currently does not have such resources. However, all resources for the frontend should go into that dir, if there is any.
That makes sence.
I've pushed new commit with updated CI file.
When building (or running in development mode) the app, without
public
directory under root path, an error will occur:After this pr, the issue can be resolved:
I think this is probably caused by
trunk
:https://github.com/Alex222222222222/CopyClip/blob/d88ad40777fb1c7c8ee68e3c398aa7bf72c81a9a/index.html#L8
I tried to remove it. After some crude testing, the app seems still work well.
Probably this is a better approach.