marshallswain / feathers-pinia

Connect your Feathers API to the elegant data store for Vue
52 stars 22 forks source link

Storage Plugin #147

Open ericuldall opened 1 year ago

ericuldall commented 1 year ago

Still in draft and testing

ericuldall commented 1 year ago

Tried the following:

npm run build

Then in my project i'm testing for:

npm run link ~/Path/to/repo

I had to add it to vite rollup external to get my project to build with the linked repo. It built fine, but i'm getting a runtime errors.

Uncaught TypeError: Failed to resolve module specifier "feathers-pinia". Relative references must start with either "/", "./", or "../".

Any thoughts on how I can test this in my project?

marshallswain commented 11 months ago

I've never had good luck linking. I'd recommend copying the src folder into your project, renaming it to feathers-pinia then importing from there.

ericuldall commented 11 months ago

ah okay, I'll give that a try