public path problem
[issue link]I want to set the public path to be a relative path.
for example, i want this:
<script src="assets/manifest.ec59716a348942b2b17f.js"></script>
<script src="assets/1.nuxt.bundle.0cf0418edc2e2a30a9d7.js"></script>
But it always generates to this:
<script src="/assets/manifest.ec59716a348942b2b17f.js"></script>
<script src="/assets/1.nuxt.bundle.0cf0418edc2e2a30a9d7.js"></script>
This is my nuxt.config.js:
build: {
publicPath: 'assets/'
}
I don’t know why it always adds a “/” in the path.