Skip to content

Intellisense not working in angular project #172

@alexbjorlig

Description

@alexbjorlig

Trying to setup tailwind with our Angular project, and it does not work 🤔

tailwind.config.js

module.exports = { theme: { extend: {} }, variants: {}, plugins: [] };

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.scss$/,
        loader: 'postcss-loader',
        options: {
          ident: 'postcss',
          syntax: 'postcss-scss',
          plugins: () => [
            require('postcss-import'),
            require('tailwindcss')('./tailwind.config.js'),
            require('autoprefixer'),
          ]
        }
      }
    ]
  }
};

package.json

"devDependencies": {
        "tailwindcss": "^1.6.2"
    },

I followed the troubleshooting steps from the readme, but no help. Is there somewhere we can trace logs/issues?

Metadata

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