nuxt / create-nuxt-app

Create Nuxt.js App in seconds.
MIT License
3.49k stars 429 forks source link

Creating a new project with UI library does not work (antd as an example) #189

Closed ZainW closed 5 years ago

ZainW commented 5 years ago

trying to create a POC nuxt app using https://github.com/AmpleOrganics/Blaze.vue, could not get my component library to install so i created a default create-nuxt-app using the antd and it does not register the components either as part of the default scaffolding

create-nuxt-app version: 2.4.3 yarn: 1.13.0 node: 10.15.0 (minor is the lts) OS: osx

Steps to reproduce:

  1. yarn create nuxt-app test or whatever npx equivalent
  2. when selecting a ui library choose antd
  3. in the default pages/index.vue paste the following:
    <v-button type="primary">
    main button
    </v-button>

i notice that only the text is rendered and the html tag is v-button instead of the compiled button

would like to understand the underlying issue as the goal is to actually use a different component library from antd

ZainW commented 5 years ago

made a mistake apologies

its a-button, although i still dont know why my component library is not working but that's probably my fault.

Apologies