zernonia/vue3-notion

Make import of default styles optional

Closed this issue · 1 comments

Is your feature request related to a problem? Please describe.
I'd like a way to opt-in/opt-out of importing the default stylesheet.

Describe the solution you'd like
Ideally we would get this from the user module options and conditionally push the css import depending on value. Maybe use a boolean to enable/disable default styles and accept a string too to automatically import this for the user (not sure if the string option is really necessary, just a thought).

Describe alternatives you've considered
Not sure there is any alternative.

Additional context

nuxt.options.css.push("vue3-notion/dist/style.css")

Hi @hacknug . You are right! By default it shouldn't include css. I missed out that part for Nuxt module.
Yup I will add option to the modules to enable css.