aidewoode / office-ui-fabric-vue

Office UI Fabric implementation for Vue.js
https://aidewoode.github.io/office-ui-fabric-vue/
Other
273 stars 30 forks source link

Unable to resolve path to module './Checkbox.vue' #7

Closed gleox closed 6 years ago

gleox commented 6 years ago

When I run yarn run server on my Mac, I got an error:

/path/to/code/github/aidewoode/office-ui-fabric-vue/docs/ui-components/index.js
  4:22  error  Unable to resolve path to module './Checkbox.vue'  import/no-unresolved

My Mac file system is case sensitive and the working directory looks like this:

│   ├── routes.js
│   └── ui-components
│       ├── Breadcrumb.vue
│       ├── Button.vue
│       ├── Callout.vue
│       ├── CheckBox.vue

I found the file name CheckBox.vue is different from the import statement. We should change the file name CheckBox.vue to Checkbox.vue and the run server command will work.

gleox commented 6 years ago

PR has being merged, close this issue.