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
I use the vite+react project, what I want to ask is When I use storybook build this npm script to build, the storybook-static directory will be generated,
and the js files referenced in the index.html are relative paths, like this: ./,
I want to deploy this document application now, it will be published to npm pkg file has a path,
So I want to add a common path to all references to js, I tried ViteFinal, but I'm not sure if it works, can anyone help me?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
I use the vite+react project, what I want to ask is When I use storybook build this npm script to build, the storybook-static directory will be generated,
and the js files referenced in the index.html are relative paths, like this: ./,
I want to deploy this document application now, it will be published to npm pkg file has a path,
So I want to add a common path to all references to js, I tried ViteFinal, but I'm not sure if it works, can anyone help me?
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions