V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
waiaan
V2EX  ›  Vue.js

vue 组件能否根据 components 中的内容自动生成 html 标签?

  •  
  •   waiaan · May 27, 2019 · 2165 views
    This topic created in 2532 days ago, the information mentioned may be changed or developed.

    components 中的内容是用 require.context 批量获取的,现在要根据 components 的内容一个一个去添加 html 标签会很麻烦,有没有自动生成的办法? 谢谢。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   766 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 21:14 · PVG 05:14 · LAX 14:14 · JFK 17:14
    ♥ Do have faith in what you're doing.