Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile #56

Open
damanloox opened this issue Dec 7, 2018 · 0 comments
Open

Failed to compile #56

damanloox opened this issue Dec 7, 2018 · 0 comments

Comments

@damanloox
Copy link

I'm trying to use semantic-ui-less with existing vue.js 2 project.
I'm getting the following:

 ERROR  Failed to compile with 1 errors                                                                                                  

 error  in ./node_modules/semantic-ui-less/semantic.less

Module build failed:

// load the styles
var content = require("!!../css-loader/index.js??ref--9-1!../postcss-loader/lib/index.js??ref--9-2!../less-loader/dist/cjs.js??ref--9-3!./semantic.less");
          ^
Unrecognised input
      in (some_path)/node_modules/semantic-ui-less/semantic.less (line 4, column 12)

Here's my webpack config:

  module: {
    rules: [
      {
       test: /\.css$/,
       use: ['vue-style-loader', 'css-loader']
      },
      {
        test: /\.less$/,
        use: ['vue-style-loader', 'css-loader', 'less-loader']
      },
      {
        test: /\.vue$/,
        loader: 'vue-loader',
        options: vueLoaderConfig
      },
     (...)
```
Any ideas what I'm doing wrong?


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant