Giter Site home page Giter Site logo

开发记录 about liux.pro HOT 5 OPEN

liux-pro avatar liux-pro commented on July 23, 2024
开发记录

from liux.pro.

Comments (5)

liux-pro avatar liux-pro commented on July 23, 2024

element-ui太坑了,现在也没人维护,还是不要用了,换vuetify

from liux.pro.

liux-pro avatar liux-pro commented on July 23, 2024

想不到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.

liux-pro avatar liux-pro commented on July 23, 2024

集成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.

liux-pro avatar liux-pro commented on July 23, 2024

集成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.

liux-pro avatar liux-pro commented on July 23, 2024

集成vditor
https://github.com/Vanessa219/vditor

from liux.pro.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.