lewkamtao/lew-ui

import 'lew-ui/dist/style.css' error

Huelse opened this issue · 3 comments

Huelse commented
[plugin:vite:import-analysis] Missing "./dist/style.css" specifier in "lew-ui" package

seems to not support by the latest vite? change to import '/node_modules/lew-ui/dist/style.css' will work.
reproduce link

import "lew-ui/style";

Sorry, the latest version has updated the import method.

Huelse commented

By the way, there is a warning: [vite] warning: @vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.

By the way, there is a warning: [vite] warning: @vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.

我其实不是很确定是不是组件库造成的,因为我在demo中没有发现这个警告。