Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only 'Default' preset generates a usable result #129

Closed
julijane opened this issue Oct 20, 2019 · 2 comments
Closed

Only 'Default' preset generates a usable result #129

julijane opened this issue Oct 20, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@julijane
Copy link

julijane commented Oct 20, 2019

I created a vue project using current @vue/cli package, then proceeded with vue add vuetify. When using the "Default" preset, the result works/looks fine. When using the "Prototype" or "Configure" preset, the end result fails with:

warning  in ./src/plugins/vuetify.js
"export 'default' (imported as 'Vuetify') was not found in 'vuetify'

Or to be specific: It does not fail, but then a (visually) empty page seems to be served.

I compared the output of Default preset and the other presets and found that one difference is that the Default preset in src/plugins/vuetify.js does

import Vuetify from 'vuetify/lib';

and the other presets do

import Vuetify from 'vuetify';

Changing this made the warning go away, but when then opening up the page one gets a unstyled mess, so it still does not yield a working result. From here I could not determine what to change furthermore to get a proper starting result.

@julijane julijane changed the title Only 'Default' preset generates a working result Only 'Default' preset generates a usable result Oct 20, 2019
@gwh-cpnet
Copy link

I think it is related to @vue/cli v4 which is released lately.

@gwh-cpnet
Copy link

if you scaffolld with @vue/cli v4, and you found

transpileDependencies: [
     'vuetify',
],

in your vue.config.js, delete this section, it would work fine by then.

@johnleider johnleider self-assigned this Nov 3, 2019
@johnleider johnleider added the bug Something isn't working label Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants