This package allows you to have canonicaltags automatically generated when generating static sites with nuxt. This helps you avoid SEO crawlers marking your non-www urls as duplicates, by telling them which of the two base urls is the "correct" one.
...modules:'nuxt-canonical' baseUrl: ''
This will result in the following tag being inserted into all generated pages:
Available options besides the required baseUrl
trailingSlashes: true // Adds trailing slashes to the href attribute urls, defaults to trueforceLowercase: false // Forces lowercase href attribute urls, defaults to false