Skip to content

Mise à jour de routing.md #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 6, 2018
Merged

Mise à jour de routing.md #34

merged 2 commits into from
Feb 6, 2018

Conversation

MachinisteWeb
Copy link
Member

Hi tout le monde ! Besoin de quelques relectures sur cette PR !

Signed-off-by: MachinisteWeb <[email protected]>

You can enable SPA fallbacks for dynamic routes too. Nuxt.js will output an extra file that is the same as the index.html that would be used in `mode: 'spa'`. Most static hosting services can be configured to to use the SPA template if no file matches. It won't include the `head` info or any HTML, but it will still resolve and load the data from the API.
Vous pouvez activer l'alternative pour application monopage pour les routes dynamiques aussi. Nuxt.js va générer un fichier supplémentaire identique à `index.html` qui pourra être utilisé en `mode: 'spa'`. La plupard des services d'hébergement peuvent être configurés pour utiliser le template d'application monopage si aucun fichier ne concorde. Les informations de `head` ou HTML ne seront pas inclus mais les données seront toujours résolues et chargées depuis l'API.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "La plupart"

Signed-off-by: MachinisteWeb <[email protected]>
@MachinisteWeb
Copy link
Member Author

Merci @rspt !

@MachinisteWeb MachinisteWeb merged commit 4742e79 into working Feb 6, 2018
@MachinisteWeb MachinisteWeb deleted the update-routing branch February 6, 2018 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants