Hi @jesus9ias
, I updated vue-sfc-rollup to the latest version and copied my components. Now it seems to be working. It's strange. I haven't changed anything in my code.
Currently, I am importing the components all individually as shown in my example above. If I want to import everything at once, I do this as follows:
Hello @simonmarcellinden
in that case you can try to test locally using npm pack and install them referencing the created tgz file instead of npm link. It is more similar to installing from public npm.
Hi @jesus9ias , I updated vue-sfc-rollup to the latest version and copied my components. Now it seems to be working. It's strange. I haven't changed anything in my code.
Currently, I am importing the components all individually as shown in my example above. If I want to import everything at once, I do this as follows:
I then get the following error
Syntax Error: Error: No ESLint configuration found in 'packagename/dist'
Any idea how I can fix this?
The new error seems to be the app requires eslint in some process, do you have installed locally or globally?
Hello, is installed locally and globally. But it looks like a problem with
npm link
. Before I publish my packages, I always test them.
To do this, I use
npm link
and then link my package with my test project. The error mentioned above then appears.
But if I publish the package and then install it with
npm install
the error disappears.
Hello @simonmarcellinden in that case you can try to test locally using npm pack and install them referencing the created tgz file instead of npm link. It is more similar to installing from public npm.
thanks for the tip, I'll try this and report me
@jesus9ias , great tip. It's work fine.
thanks a lot