0.0.4 • Published 4 years ago
universify v0.0.4
universify
Fastify's DX-oriented CLI for SSR-enabled application development powered by Vite.
Status: experimental, in active development.
npm i universifyRunning vanilla Fastify app
Create app.mjs file as follows:
export default (app) => {
app.get('/', (_, reply) => reply.send('Hello world'))
}Run with:
npx uni app devRunning Fastify-Vite app
Create app.mjs file as follows:
import FastifyViteVue from 'fastify-vite-vue'
export const renderer = FastifyViteVueCreate views/index.vue and export path to set a route.
Run with:
npx uni app dev