https://github.com/dafrok/issue-of-vue-loader
Deprecated
https://github.com/dafrok/issue-of-vue-loader
Last synced: 12 months ago
JSON representation
Deprecated
- Host: GitHub
- URL: https://github.com/dafrok/issue-of-vue-loader
- Owner: Dafrok
- Created: 2017-02-10T09:42:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-13T03:34:58.000Z (over 9 years ago)
- Last Synced: 2025-03-12T16:37:05.762Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Guide
Reproduct a problem of vue-loader when export a `.vue` file on declare.
## Reproduction
Run these command and then visit [http://localhost:8080](http://localhost:8080).
```bash
git clone https://github.com/Dafrok/issue-of-vue-loader.git
cd issue-of-vue-loader
npm install
npm start
```
## Excepted Output
```html
GoodCase(Correctly mounted):
A good case has been mounted here.
BadCase(can't be mounted and cause a warning):
It's a bad case which will not be mounted.
```
## Actual Output
```html
GoodCase(Correctly mounted):
A good case has been mounted here.
## BadCase(can't be mounted and cause a warning):
```
```
[Vue warn]: Invalid Component definition: ./BadCase.vue
(found in anonymous component at fake-path/issue-of-vue-loader/src/App.vue)
```