tycrek / shoelace-pug-loader

A Pug Mixin for easily loading Shoelace Web Components.
ISC License
0 stars 0 forks source link

Implement proper way of choosing a Shoelace version #1

Open tycrek opened 1 year ago

tycrek commented 1 year ago

Right now it can be overridden with the following code:

include ../node_modules/shoelace-pug-loader/loader.pug
- SLCDN.DIST = 'npm/@shoelace-style/shoelace@2.1.0/dist';
+slTheme('dark')
+slComponents('button','input','radio-group','radio')
tycrek commented 1 year ago

See https://github.com/tycrek/mulv/pull/2 for a sample implementation.