Need private packages and team management tools?Check out npm Teams »

fastify-vue

1.1.0 • Public • Published

fastify-vue

Vue.js Server-Side Rendering (SSR) Fastify plugin

const fastifyVue = require('fastify-vue')
const { createBundleRenderer } = require('vue-server-renderer')
 
app.register(fastifyVue, {
  templatePath: join(__dirname, 'server/index.html'),
  distPath: join(__dirname, 'dist'),
  clientConfig,
  serverConfig,
  createBundleRenderer,
  stats: { all: false, assets: true, colors: true }
})

Install

npm i fastify-vue

DownloadsWeekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

5.75 kB

Total Files

3

Last publish

Collaborators

  • avatar