A
A
Alexey Orlov2018-03-02 15:54:17
JavaScript
Alexey Orlov, 2018-03-02 15:54:17

Unexpected token import?

Installed the package: nuxt-stylus-resources-loader . When writing import {resolve} from 'path' in nuxt.config.js the console throws an error: Unexpected token import. How to fix this problem? In all other cases, there are no problems with import'e.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladlen Hellsite, 2018-03-02
@Hardjuice

Read the issue in the repository

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question