alvarosabu / slidev-theme-penguin

A Penguin 🐧 theme for Slidev
https://slidev-theme-penguin.alvarosaburido.dev/
165 stars 51 forks source link

Failed to import svg figures from theme #5

Closed alvarosabu closed 3 years ago

alvarosabu commented 3 years ago
[vite] Internal server error: Failed to resolve import "/public/curve-big.svg" from "node_modules/slidev-theme-penguin/components/CornerCurves.vue". Does the file exist?
  Plugin: vite:import-analysis
  File: /Users/x400048/Projects/talks/vue-3-workshop-porsche/node_modules/slidev-theme-penguin/components/CornerCurves.vue
  1  |  
  2  |  import { defineComponent as _defineComponent } from "vue";
  3  |  import CurveBig from "/public/curve-big.svg";
     |                        ^
  4  |  import CurveSmall from "/public/curve-small.svg";
  5  |  const _sfc_main = _defineComponent({
github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 1.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: