{"id":708,"date":"2024-04-30T12:03:23","date_gmt":"2024-04-30T10:03:23","guid":{"rendered":"https:\/\/www.javascripttutorials.net\/?p=708"},"modified":"2024-05-01T22:08:14","modified_gmt":"2024-05-01T20:08:14","slug":"building-an-universal-javascript-app-using-nuxtjs","status":"publish","type":"post","link":"https:\/\/www.javascripttutorials.net\/building-an-universal-javascript-app-using-nuxtjs\/","title":{"rendered":"Building an Universal JavaScript App Using NuxtJS"},"content":{"rendered":"<p><a href=\"https:\/\/nuxt.com\/\">Nuxt<\/a> is a free and open source JavaScript library based on Vue.js, Nitro, and Vite. Nuxt is inspired by Next.js, which is a framework of similar purpose, based on React.js. The framework aims to create performant and production-grade full-stack web apps and websites with confidence.<!--more--><\/p>\n<p>This presentation explains how to use NuxtJS to build a JavaScript website that will handle roles and users using the auth module of NuxtJS. The presenter creates a demo app that will take you through the code and show you how to set up a simple website with a middleware that will control which pages users can view based on their profiles. You will also learn how to use:<br \/>\n* plugins<br \/>\n* testing with Jest<br \/>\n* CSS modules <\/p>\n<p><iframe loading=\"lazy\" title=\"Building a universal app using NuxtJS with authentication &amp; authorization made simple\" width=\"730\" height=\"411\" src=\"https:\/\/www.youtube.com\/embed\/2x2qHFiDIJ4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>Video producer: <a href=\"https:\/\/javascript-conference.com\/\">https:\/\/javascript-conference.com\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nuxt is a free and open source JavaScript library based on Vue.js, Nitro, and Vite. Nuxt is inspired by Next.js, which is a framework of similar purpose, based on React.js. The framework aims to create performant and production-grade full-stack web apps and websites with confidence.<\/p>\n","protected":false},"author":1,"featured_media":710,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43],"class_list":["post-708","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript","tag-react"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/posts\/708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/comments?post=708"}],"version-history":[{"count":0,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/posts\/708\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/media\/710"}],"wp:attachment":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/media?parent=708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/categories?post=708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/tags?post=708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}