N
Nuxt2y ago
nulkode

Where do I put the SPA loading template?

I'm doing a web app and I decided that CSR is the best pattern. The docs say that I must make an HTML that will be displayed while the page is hydrating. But the path where it says that I have to put it doesn't match with any from the directory structure.
No description
5 Replies
Cake
Cake2y ago
if I'm not mistaken, ~app/ means the root @nulkode
nulkode
nulkodeOP2y ago
so I need to put it in the root file of the project?
manniL
manniL2y ago
no no create an app folder in your project e.g. path/to/my/project/app/spa-loading-template.html Where e.g. your package.json is in path/to/my/project/package.json Also, be aware that this is a brand new feature
manniL
manniL2y ago
GitHub
feat(nuxt): allow configuring spa loading indicator by danielroe · ...
🔗 Linked issue resolves #14796 ❓ Type of change 📖 Documentation (updates to the documentation, readme or JSdoc annotations) 🐞 Bug fix (a non-breaking change that fixes an issue) 👌 Enhancement ...
manniL
manniL2y ago
So, only on the nuxt-edge channel for now, will be released in 3.6.0
Want results from more Discord servers?
Add your server