zuramai / mazer

Free and Open-source Bootstrap 5 Admin Dashboard Template and Landing Page
http://zuramai.github.io/mazer
MIT License
2.7k stars 754 forks source link

make package available on npmjs.com #183

Closed c33s closed 1 year ago

c33s commented 1 year ago

it would be awesome to be able to install this nice theme via npm (then it could be easily integrated in for example symfony projects which are using yarn/npm for js package management).

i searche on https://www.npmjs.com/search?q=mazer%20bootstrap but found nothing.

fzn0x commented 1 year ago

This repository is just a collection of pre-built nunjucks files, we can't publish something like that to npm.

This is just a template, not a library or framework.

c33s commented 1 year ago

in my experience it makes perfectly sense to have themes like this as package on npmjs. if you use sass and yarn in your project to integrate bootstrap it comes handy to also have the themes as a npm dependency. this is the only way you can easily version manage them.

just my thoughts

fzn0x commented 1 year ago

If in that case that could work

zuramai commented 1 year ago

The example you provided (bootswatch) is only provide you sass files that consist of set of variables that will override the default bootstrap's theme.

We will consider this to be implemented in the future. Thanks!

zuramai commented 1 year ago

Update: Symfony version is implemented, check this out: https://github.com/jvl1v5/symfony-mazer