title: using Nuxt for server-side-rendering just for one page
body: <p>I have panel is developed by vuejs and vuetify that uses of v-router for managing routes in client-side, actually I had developed approximately 70% of my panel and in and due to the final change, I have to handle the server post request only to return from the payment page.
  I want to use NUXT for SSR, but the problem is that NUXT ignores all my past routes because it does not have these routes itself.
  My question is, can NUXT only be used to load just one page after server request to client while my panel work properly in the client-side?
  I am new to web programming and I hope I have asked the right question. Anyway, thank for all your helps.</p>
  <p>I added nossr.vue in pages directory without index.vue file(This is the only component in this directory and the rest of my vue components are placed in the Components directory).
  I use of [https://stackoverflow.com/questions/54289615/how-to-read-post-request-parameters-in-nuxtjs][1] for custom middleware and post request handle class.</p>
  <p>Here is postRequestHandle.js:</p>
  <pre><code>const querystring = require('querystring');
  
  module.exports = function (req, res, next) {
      let body = '';
  
      req.on('data', (data) =&gt; {
          console.log(&quot;post request data&quot;,data)
  
          body += data;
      });
  
      req.on('end', () =&gt; {
          req.body = querystring.parse(body) || {};
          console.log(&quot;post request handler&quot;,req.body)
  
          next();
      });
  };
  </code></pre>
  <p>and nuxt.config.js</p>
  <pre><code>export default {
      devServer: {
          host: 'mypanel.test.net',
          port: 8080,
          disableHostCheck: true,
          hotOnly: true,
  
      },
  
      serverMiddleware: [
          { path: '/clickout', handler: './server-middleware/postRequestHandler.js' },
  
      ],
      layout(context) {
          return 'nossr'
      }
  
  }
  </code></pre>