Skip to content

Commit 006f4ec

Browse files
committed
fix(nuxt): allow to load morpheme styles manually
1 parent 2c15954 commit 006f4ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/nuxt/src/module.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import { resolve } from 'path';
2-
import { fileURLToPath } from 'url';
1+
import {resolve} from 'path';
2+
import {fileURLToPath} from 'url';
33
import {
44
defineNuxtModule,
55
addPlugin,
66
addComponent,
77
type AddComponentOptions,
88
logger,
99
} from '@nuxt/kit';
10-
import { addCustomTab } from '@nuxt/devtools-kit';
10+
import {addCustomTab} from '@nuxt/devtools-kit';
1111

1212
const transpile = [
1313
'@headlessui/vue',
@@ -846,7 +846,7 @@ export default defineNuxtModule<ModuleOptions>({
846846
}
847847
}
848848

849-
if (options.css || !options.sass) {
849+
if (options.css) {
850850
nuxt.options.css.push('@morpheme/themes/dist/morpheme/main.css');
851851

852852
if (options.darkMode) {

0 commit comments

Comments
 (0)