@fangzhongya/icons 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-icons",
3
3
  "info": {},
4
- "lastModified": 1767758295694,
4
+ "lastModified": 1767769052148,
5
5
  "icons": {
6
6
  "bar": {
7
7
  "body": "<path d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\"></path>"
@@ -43,7 +43,7 @@ export default defineComponent({
43
43
  if (typeof iconName === 'string' && props.type === 'svg') {
44
44
  try {
45
45
  // \u65B9\u68481\uFF1A\u4F7F\u7528\u52A8\u6001\u5BFC\u5165\u4F46\u52A0\u4E0A vite-ignore \u6CE8\u91CA
46
- const module = await import(/* @vite-ignore */ '@fangzhongya/icons/vue/' + iconName);
46
+ const module = await import(/* @vite-ignore */ 'node_modules/@fangzhongya/icons/vue/' + iconName);
47
47
  component.value = module.default;
48
48
  } catch (error) {
49
49
  console.warn('Failed to load icon:', iconName, error);
@@ -43,7 +43,7 @@ export default defineComponent({
43
43
  if (typeof iconName === 'string' && props.type === 'svg') {
44
44
  try {
45
45
  // \u65B9\u68481\uFF1A\u4F7F\u7528\u52A8\u6001\u5BFC\u5165\u4F46\u52A0\u4E0A vite-ignore \u6CE8\u91CA
46
- const module = await import(/* @vite-ignore */ '@fangzhongya/icons/vue/' + iconName);
46
+ const module = await import(/* @vite-ignore */ 'node_modules/@fangzhongya/icons/vue/' + iconName);
47
47
  component.value = module.default;
48
48
  } catch (error) {
49
49
  console.warn('Failed to load icon:', iconName, error);
@@ -41,7 +41,7 @@ export default defineComponent({
41
41
  if (typeof iconName === 'string' && props.type === 'svg') {
42
42
  // SVG \u7C7B\u578B\uFF1A\u4ECE @fangzhongya/icons \u5E93\u5BFC\u5165
43
43
  return defineAsyncComponent(() =>
44
- import('@fangzhongya/icons/vue/' + iconName)
44
+ import(/* @vite-ignore */'node_modules/@fangzhongya/icons/vue/' + iconName)
45
45
  .then(module => module.default)
46
46
  .catch(() => {
47
47
  // \u5982\u679C\u5BFC\u5165\u5931\u8D25\uFF0C\u5C1D\u8BD5\u89E3\u6790\u7EC4\u4EF6
@@ -41,7 +41,7 @@ export default defineComponent({
41
41
  if (typeof iconName === 'string' && props.type === 'svg') {
42
42
  // SVG \u7C7B\u578B\uFF1A\u4ECE @fangzhongya/icons \u5E93\u5BFC\u5165
43
43
  return defineAsyncComponent(() =>
44
- import('@fangzhongya/icons/vue/' + iconName)
44
+ import(/* @vite-ignore */'node_modules/@fangzhongya/icons/vue/' + iconName)
45
45
  .then(module => module.default)
46
46
  .catch(() => {
47
47
  // \u5982\u679C\u5BFC\u5165\u5931\u8D25\uFF0C\u5C1D\u8BD5\u89E3\u6790\u7EC4\u4EF6
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fangzhongya/icons",
3
3
  "private": false,
4
4
  "type": "module",
5
- "version": "0.0.4",
5
+ "version": "0.0.6",
6
6
  "description ": "个人图标库",
7
7
  "author": "fangzhongya ",
8
8
  "license": "MIT",