Home

Issue: 1774

vue-test-utils can not be used

[issue link]

Hi,
I would like to use vue-test-utils with nuxt.js and ava, but an error occurs in the path provided by nuxt.js as follows.

CssSyntaxError: <css input>:59:3: referenced class name "common" in composes not found

   }
  58 | .login {
> 59 |   composes: common from '~/assets/css/buttons.css';
     |   ^
  60 |   composes: primary from '~/assets/css/buttons.css';
  61 |   composes: small from '~/assets/css/buttons.css';

I think that you probably can not interpret the alias provided by webpack correctly.
Is there a solution to this problem? Also, will you support vue-test-utils in the future?

This feature request is available on Nuxt.js community (#c1593)