In package.json
, I have:
"vue-search-select": "github:my-github-account/vue-search-select"
And then run npm install
, no error.
In app.js
, I try to import the forked package:
import { ModelSelect } from 'vue-search-select';
When I run npm run watch
, got the below message:
Module not found: Error: Can't resolve 'vue-search-select'
UPDATE:
I compared the original version and forked version in node_modules
: Original contains dist
folder but forked version don't have. In github, the original one also don't have this folder. And dist
is included in .gitignore
.