Skip to content

It does't work anyway. #23

Open
Open
@protogenesis

Description

Hi, I tried a couple of hours trying to find the problem, but I failed.
version:
@vue/cli 4.4.6

In my vue.config.js:

// vue.config.js
module.exports = {
  pluginOptions: {
    windicss: {
      // see https://github.com/windicss/vite-plugin-windicss/blob/main/packages/plugin-utils/src/options.ts
      scan: {
        dirs: ['./'],
        exclude: ['node_modules', '.git'],
      },
    },
  },
}

also tried:

// vue.config.js
module.exports = {
  pluginOptions: {
    windicss: {
      // see https://github.com/windicss/vite-plugin-windicss/blob/main/packages/plugin-utils/src/options.ts
      scan: {
        dirs: ['src', 'public', 'views'], // because my html files are in the views directory.
        exclude: ['node_modules', '.git'],
        include: ['views'] // I also tried to add it at here.
      },
    },
  },
}

Do I need to import windicss manually?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions