fastify-vite icon indicating copy to clipboard operation
fastify-vite copied to clipboard

Pug support

Open AGPDev opened this issue 3 years ago • 1 comments

Would you be interested to support Pug or how i do?

I see in Vite Pug works fine, but not with fastify-vite.

AGPDev avatar Apr 08 '21 12:04 AGPDev

Thank you for this report -- this should be fixed in the next release.

Keeping this issue open for tracking.

galvez avatar Apr 08 '21 12:04 galvez

Pug is now available for use.

$ pnpm dlx giget gh:fastify/fastify-vite/starters/vue-base#dev my-app
$ cd my-app
$ pnpm i pug -D
$ pnpm dev
<!-- client/pages/index.vue -->
<template lang="pug">
h1 {{ message }}
p
  img(:src='logo')
</template>

Shyam-Chen avatar Feb 26 '24 08:02 Shyam-Chen

Thanks for checking @Shyam-Chen!

galvez avatar Feb 26 '24 09:02 galvez