Closed jrafaaael closed 3 years ago
Maybe because 0.4.1 changed a few things
This is how I'm using after updating:
import OhVueIcon from 'oh-vue-icons';
import {LaThSolid,LaBarsSolid,RiRefreshLine} from 'oh-vue-icons/icons';
OhVueIcon.add(LaThSolid, LaBarsSolid, RiRefreshLine);
export default {
components: {
'v-oh-icon': OhVueIcon
},
// {...}
}
This is how I'm using after updating:
Thanks! At the moment I use it with the global import. Similarly, the documentation should be updated. I hope it is solved soon😄
Hi @jrafaaael @vicenterusso! I forgot to update the documentation, sorry for that. Now the documentation has been updated, thank you!
The documentation states that, to perform a local import, the path must be placed:
"oh-vue-icons/components/icon"
But the "components" folder does not exist when downloading, at least when downloading the module through npm.