You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
341 B

  1. import { join } from "path";
  2. export default function (option) {
  3. if (option["PersianDate"]) {
  4. this.addModule("@alireza-ab/persian-date/nuxt");
  5. }
  6. this.nuxt.hook("components:dirs", (dirs) => {
  7. dirs.push({
  8. path: join(__dirname, "src/components"),
  9. pattern: "**/*.vue",
  10. });
  11. });
  12. }
  13. module.exports.meta = require("./package.json");