W
W
Wasya UK2019-02-11 14:18:08
Pug
Wasya UK, 2019-02-11 14:18:08

Is it possible to render pug on the client?

How can I make such a design on the client?

import pug from 'pug'

let compileClient = pug.compileClient('.div hello world', {})

console.log(compileClient)

Webpack is complaining about the module because it uses fs... How do I handle pug strings on the client?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question