Comments (5)
element-ui太坑了,现在也没人维护,还是不要用了,换vuetify
from liux.pro.
想不到vuetify也有坑
默认加载图标会从cdn加载,即使是生产环境
默认情况下,如果没有外网环境,图标都显示不出来,下面是说明以及解决方法
https://vuetifyjs.com/en/features/icon-fonts/#material-design-icons
https://stackoverflow.com/questions/60983551/how-to-remove-google-font-roboto-from-head-in-nuxt-vuetify
添加依赖 yarn add @mdi/font -D
nuxt.config.js里添加
{
css: ['@mdi/font/css/materialdesignicons.css'],
vuetify: {
defaultAssets: false //阻止自动从cdn拉资源
}
}
from liux.pro.
集成milkdown
https://milkdown.dev/#/zh-hans/vue2
yarn add @milkdown/core @milkdown/preset-commonmark @milkdown/theme-nord @milkdown/plugin-listener
milkdown api设计让我看不懂,算了不用了
from liux.pro.
集成tui.editor
https://github.com/nhn/tui.editor
vue开箱即用
https://github.com/nhn/tui.editor/tree/master/apps/vue-editor
坑1:深色模式需要额外引用css,文档里没说
from liux.pro.
集成vditor
https://github.com/Vanessa219/vditor
from liux.pro.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liux.pro.