Giter Club home page Giter Club logo

Comments (7)

chenxch avatar chenxch commented on June 2, 2024

https://nuxt.com/modules/element-plus

from element-plus.

gzf6 avatar gzf6 commented on June 2, 2024

https://nuxt.com/modules/element-plus

该文档没有针对上述情况的可用信息

from element-plus.

chenxch avatar chenxch commented on June 2, 2024

文档里面有个element-plus-nuxt-starter
image

from element-plus.

gzf6 avatar gzf6 commented on June 2, 2024

文档里面有个element-plus-nuxt-starter image

这是针对 app 的,我是要开发一个独立的 module,打包后给其他 app 或 module 使用。
你可以使用 npx nuxi init -t module my-module,按照上述复现步骤即可验证。

from element-plus.

chenxch avatar chenxch commented on June 2, 2024

cc @tolking

from element-plus.

tolking avatar tolking commented on June 2, 2024

@element-plus/nuxt 的样式按需引入是通过一个插件实现的,我也不清楚它是否能够作用于 node_modules 目录。你可以先提供一个你封装组件的 demo 和其打包过后的代码吗?

from element-plus.

gzf6 avatar gzf6 commented on June 2, 2024

@element-plus/nuxt 的样式按需引入是通过一个插件实现的,我也不清楚它是否能够作用于 node_modules 目录。你可以先提供一个你封装组件的 demo 和其打包过后的代码吗?

myModule.zip

myModule 打包.zip

from element-plus.

Related Issues (20)

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.