An open API service indexing awesome lists of open source software.

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

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)
```