AT-UI / at-ui

A fresh and flat UI-Kit specially for desktop application, made with ♥ by Vue.js 2.0 (DEPRECATED)
https://at.aotu.io
MIT License
2.34k stars 230 forks source link

Import On Demand doesn't work #30

Closed neves closed 6 years ago

neves commented 7 years ago

The docs at https://at-ui.github.io/at-ui/#/en/docs/quickstart says I can import on demand like this: import { AtInput } from 'at-ui' but AtInput is not exported, the correct is Input.

But even if I try to import just Input, it returns undefined:

import AtUI, {Input} from 'at-ui'
console.log('AtUI.Input:', AtUI.Input) // ok
console.log('Input:', Input) // undefined

Steps to reproduce

vue init at-ui/at-template at-ui-bug
cd at-ui-bug
yarn
yarn dev
// add above lines to src/index.js
Alexis374 commented 7 years ago

the same problem. Perhaps they don't support at all

koppthe commented 6 years ago

Sorry, I just came back from vacation today. Very long vacation :( I will fixed it recently.

koppthe commented 6 years ago

61