-
Hi there, I wanted to try this vue 3 vui library and when I've imported it in main.ts (vue 3 typescript vite) I got this: 8:29:42 PM [vite] new dependencies found: vuestic-ui, updating...
8:29:48 PM [vite] error while updating dependencies: Where am i wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Vuestic works well with vite for me. Can you give more information about your setup? E.g., vuestic-ui version, vite config. The only one issue you should face is lack of alias for normalize.css, that can be fixed if you add resolve: {
alias: [
{ find: /^~(.*)$/, replacement: '$1' },
],
}, to your vite.config.ts. |
Beta Was this translation helpful? Give feedback.
-
It is interesting that if I use this command to init vue 3 project: But if scafold vue 3 project using: |
Beta Was this translation helpful? Give feedback.
It is interesting that if I use this command to init vue 3 project:
npm init vue@latest
and install vuestic-ui I get previous error.
But if scafold vue 3 project using:
npm create vite@latest
and following along, and then install vuestic-ui there is no error...