S
S
Stan_12019-03-18 01:44:59
Vue.js
Stan_1, 2019-03-18 01:44:59

How to specify a separate domain for statics in nuxt.js?

Goodnight!
I just can’t find or figure out: how to specify the domain for statics in the Nuxt.js project? That is, let's say the project is hosted on the example.com domain. How do I tell the project to add static.example.com to all static file urls?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
karambafe, 2019-03-18
@karambafe

If I'm not mistaken, then the publicPath property is responsible for this .
Link to off site

E
Evgeniy S, 2019-03-18
@evgensenin

https://nuxtjs.org/api/configuration-dir

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question