Skip to content

Commit

Permalink
feat: add inlineSSRStyles hint to types (#79)
Browse files Browse the repository at this point in the history
* Update index.md

Add mention about disabling inlineSSRStyles when configFile and SSR. Link to the issue.

* doc: change to mention only SSR and link to issue 74

* chore: include hints in types

---------

Co-authored-by: userquin <userquin@gmail.com>
  • Loading branch information
jrutila and userquin committed Sep 9, 2023
1 parent 7fc589e commit 97a6f07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ export interface MOptions {
/**
* Vuetify styles.
*
* If you want to use configFile on SSR, you have to disable `experimental.inlineSSRStyles` in nuxt.config.
*
* @see https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin
* @see https://github.com/userquin/vuetify-nuxt-module/issues/78 and https://github.com/userquin/vuetify-nuxt-module/issues/74
*/
styles?: true | 'none' | 'expose' | 'sass' | {
configFile: string
Expand Down
3 changes: 3 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,10 @@ export interface MOptions {
/**
* Vuetify styles.
*
* If you want to use configFile on SSR, you have to disable `experimental.inlineSSRStyles` in nuxt.config.
*
* @see https://github.com/vuetifyjs/vuetify-loader/tree/master/packages/vite-plugin
* @see https://github.com/userquin/vuetify-nuxt-module/issues/78 and https://github.com/userquin/vuetify-nuxt-module/issues/74
*/
styles?: true | 'none' | 'expose' | 'sass' | {
configFile: string
Expand Down

0 comments on commit 97a6f07

Please sign in to comment.