getting custom fonts in .less



  • hi,

    I was just trying to write my first Plugin but failed when referencing custom fonts in my .less.

    my fonts are in ./static/fonts and my .less is ./static/style.less

    in my .less i use eg: url(fonts/font.woff)

    The font doesnt get loaded though.

    What is the easiest way to include fonts in my Plugin?

    edit: it seems to work if i use plugins/nodebb-plugin-pluginname/static/fonts as fonturl


 

Suggested Topics

| |