You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optionally the public path should be changed from {publicPath} to {publicPath}{version}/, e.g., for / to /1.2.3/ or from /docs/ to /docs/1.2.3/.
OPTION 1 The output structure would be changed, too, where a folder with the version would be added containing the actual index.html. The "root" folder would then have an html file that only redirects to the specific version.
OPTION 2 Alternatively, the version can be only appended on build with --append-version or similar. In this case the output is in the original folder, but the paths all changed. This way you'd build twice for a new version - once to supply the version-less output to the root folder, and once to supply the version-suffixed output to a version directory.
Personally, I'd like OPTION 1 more as it would just be a single build and I could just upload to FTP and done. OPTION 2 you can do today by just changing the publicPath, too.
The text was updated successfully, but these errors were encountered:
Optionally the public path should be changed from
{publicPath}
to{publicPath}{version}/
, e.g., for/
to/1.2.3/
or from/docs/
to/docs/1.2.3/
.OPTION 1 The output structure would be changed, too, where a folder with the version would be added containing the actual index.html. The "root" folder would then have an html file that only redirects to the specific version.
OPTION 2 Alternatively, the version can be only appended on build with
--append-version
or similar. In this case the output is in the original folder, but the paths all changed. This way you'd build twice for a new version - once to supply the version-less output to the root folder, and once to supply the version-suffixed output to a version directory.Personally, I'd like OPTION 1 more as it would just be a single build and I could just upload to FTP and done. OPTION 2 you can do today by just changing the publicPath, too.
The text was updated successfully, but these errors were encountered: