Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error resource 404 with ttf and woff files only in develop but in production all work good #124

Closed
luffynando opened this issue Feb 28, 2021 · 1 comment

Comments

@luffynando
Copy link

Steps for reproduce problem

git clone this
npm install
npm i element-plus

modify file in /src/renderer/index.ts

import { createApp } from 'vue';
import ElementPlus from 'element-plus';
import locale from 'element-plus/lib/locale/lang/es';
import App from './App.vue';
import router from '/@/router';
import 'dayjs/locale/es';

const app = createApp(App);
app.use(ElementPlus, { size: 'medium', locale });
app.use(router);

app.mount('#app');

add in file /src/renderer/App.vue

<i class="el-icon-edit"></i>

And finally run:

npm run watch

And ready in console.log show this error.

image

@cawa-93
Copy link
Owner

cawa-93 commented Feb 28, 2021

I was unable to reproduce your issue. But I think it will be fixed here. I close this issue. If the problem persists after the upgrade, open it again.

@cawa-93 cawa-93 closed this as completed Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants