Making Nuxt.js clone with Vue 3 and Vite (Vue Server Side Rendering)

This page summarizes the projects mentioned and recommended in the original post on dev.to

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • vue3-vite-custom-ssr-example

    You can find all the code from the article and an example of the project here.

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • vite

    Next generation frontend tooling. It's fast!

    I recommend that instead of manually initializing the project, I recommend to clone the official SSR-example or my demo project for this article (I recommend it).

  • pinia

    🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support

    const authMiddleware: Middleware = ({ pinia }) => { // !!! Important !!! // tell all the stores you are contacting // Pinia instance, otherwise you will have problems because Pinia will access the global object // https://github.com/vuejs/pinia/blob/8626aac0049243de231401a01fe20092eeaf279c/packages/pinia/src/store.ts#L870 if (!authStore(pinia).isAuth) { return { path:'/login', status: 401, } } }

  • router

    🚦 The official router for Vue.js (by vuejs)

    We use Vue Router, it's very flexible API compared to any routers.

  • connected-react-router

    A Redux binding for React Router v4

    So, I think many people are not familiar with the concept of integrating a router into the Store, but in fact they most likely met the Connected React Router library, it allows, for example, with successful authentication directly in the action, to redirect the user to the /profile or /dashboard page, this allows the authentication logic do not spread beyond the action. To begin with, we will write timings for the state of this store.

  • Next.js

    The React Framework

    For example Next has one big architectural flaw (At the time of writing article), it does not know how to work with nested routes. For those who do not know, Vue Router allows using the component to display child pages, at any nesting level. I have prepared a visual visualization of what nested routes are, for those who are familiar with React + Remix I think it will be very familiar. Because nested routes are killer features Remix. By the way, while I was writing the article, Layouts RFC came out on the Next blog.js, which means that soon there will be support in Next.js . Let's go back to the Remix framework:

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • core

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. (by vuejs)

    And so in Vue 2 we had such a cool feature as serverCacheKey, this is the thing that allowed caching at the component level. But there is no such chip in Vue 3, here are issues. However, considering how much the SFC Compiler was optimized, the benefit from serverCacheKey would not be so great.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Can I create another WordPress that satisfies humanity?

    10 projects | dev.to | 27 Nov 2023
  • Can't seem to get ipcRenderer / contextBridge working and it's driving me crazy

    2 projects | /r/electronjs | 19 Nov 2023
  • Svelte Libraries / feature completeness

    6 projects | /r/sveltejs | 3 Jul 2023
  • In plain vanilla JS/TS or with React?

    2 projects | /r/Frontend | 6 May 2023
  • Optimize your Bundle Size with SWC and GraphQL Codegen

    6 projects | dev.to | 18 Apr 2023

Did you konow that TypeScript is
the 1st most popular programming language
based on number of metions?