You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modules: ['@coremyslo/nuxt-icon-font',],iconFont: {// Font name to be used in "font-family" and custom properties generated prefix "--icon-font-svgiconfilename"name: "icon-font",// folder with icons to watchsourceDirPath: "assets/icon-font",// target folder for generated fonts in "public" foldertargetDirPath: "icon-font",// font formats to generate, fallback to ["woff2"] in case browserslist is not used, example for manual configuration: ["svg", "ttf", "woff", "woff2", "eot"] in any orderformats: ["svg"],// Support of generating the most popular font as base64base64: false,// unicode symbol for first icon in iconfont (makes sense to change only if you're not going to use custom properties)unicode: "0xE900",// generated custom properties (variables) format. Other options are: "snake", "pascal", "camel", "header", "constant"case: "kebab"},
I can display the icon correctly on the contract page, but on contractInfo page I got this error message after refresh:
(Page not found: /contract/icon-font/icon-font.woff2?afb75685-4165-5b18-b513-863da7b76d11)
It seems get the wrong path when directly enter subpages.
The text was updated successfully, but these errors were encountered:
Thanks for this project. It's really convenient to use.
But I encountered some problems while developing, I'd be grateful if you could help.
This is my pages structure:
|--/pages
|---/contract
| |--index.vue
| |--contractInfo.vue
nuxt.config
I can display the icon correctly on the
contract
page, but oncontractInfo
page I got this error message after refresh:(Page not found: /contract/icon-font/icon-font.woff2?afb75685-4165-5b18-b513-863da7b76d11)
It seems get the wrong path when directly enter subpages.
The text was updated successfully, but these errors were encountered: