Nuxt - sgml/signature GitHub Wiki

API

  • "nuxt" "context" "route" "name" site:v2.nuxt.com middleware

Markdown

Cookbook

Storybook

Release Notes / Changelogs

Async Utilities

  async timeout(context, payload) {
    console.warn('waiting', payload)
    await new Promise((resolve) => setTimeout(resolve, payload))
  }

  async foo(context) {
    await context.dispatch('timeout', 1000)
  }

i18N Utilities

// each param replaces the literal; $route is used instead of this.$route
// for each iteration of foo, use foo.id to get the unique URL
localePath({
  name: 'slug-foos-foo-fooid',
  params: { slug: $route.params.slug, fooid: foo.id }
})

Nginx

Config

https://vuejs.org/v2/guide/deployment.html

https://vue-loader.vuejs.org/guide/pre-processors.html

https://nuxtjs.org/faq/nginx-proxy/

https://www.digitalocean.com/community/tutorials/implementing-authentication-in-nuxtjs-app

https://vuejs-templates.github.io/webpack/structure.html

https://github.com/vuejs/vuejs.org/blob/master/src/v2/guide/components-edge-cases.md#x-templates

https://vuejsdevelopers.com/2017/03/24/vue-js-component-templates/

https://github.com/vuejs/vue/blob/master/examples/tree/index.html

https://stackoverflow.blog/2020/03/25/tracking-down-performance-pitfalls-in-vue-js/?cb=1

https://markus.oberlehner.net/blog/accessible-custom-vue-form-select-component-simple-but-advanced/

https://www.optasy.com/blog/are-there-any-strong-reasons-not-use-nuxtjs-7-issues-might-discourage-you-choosing-it

https://dev.to/vuevixens/dockerise-your-nuxt-ssr-app-like-a-boss-a-true-vue-vixens-story-4mm6

https://jonathanmh.com/deploying-a-nuxt-js-app-with-docker/

https://nuxtjs.org/api/nuxt/

Routing

https://nuxtjs.org/api/components-nuxt-child/

https://zaengle.com/blog/named-routes-in-nuxt

https://router.vuejs.org/guide/essentials/navigation.html

https://farnabaz.ir/@farnabaz/reveal-hidden-capabilities-of-nuxt-router/

https://css-tricks.com/creating-dynamic-routes-in-a-nuxt-application/

https://blog.pusher.com/demystifying-page-transitions-nuxt/

https://nuxt-community.github.io/nuxt-i18n/routing.html

https://www.vuesnippets.com/

Middleware

Lifecycle

Components

Guides

Sample Code

Plugins

buefy / Bulma

v-model

pub/sub

Internals

Reactivity

References

⚠️ **GitHub.com Fallback** ⚠️