Skip to content

Commit 0dd2300

Browse files
modbendermodbender
authored andcommitted
fix: module compatibility
1 parent a1cdf91 commit 0dd2300

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/module.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@ import { defineNuxtModule, addPlugin, createResolver } from "@nuxt/kit";
22

33
import type { ModuleOptions } from "./types";
44

5+
import { name, version } from "../package.json";
6+
57
const moduleList = ["bootstrap", "@popperjs/core"];
68

79
export default defineNuxtModule<ModuleOptions>({
810
meta: {
9-
name: "nuxt-bootstrap-css",
11+
name,
12+
version,
1013
configKey: "bootstrapCSS",
14+
compatibility: {
15+
nuxt: "^3.0.0",
16+
},
1117
},
1218
// Default configuration options of the Nuxt module
1319
defaults: {},

0 commit comments

Comments
 (0)