GithubHelp home page GithubHelp logo

新手疑问 about vue-blu HOT 13 CLOSED

chenz24 avatar chenz24 commented on May 18, 2024
新手疑问

from vue-blu.

Comments (13)

caidaoli avatar caidaoli commented on May 18, 2024 1

估计是npm上的版本的问题,出现同样的状况。然后git clone,在npm run package出来的文件覆盖node_modules中的文件,问题解决

from vue-blu.

chenz24 avatar chenz24 commented on May 18, 2024

请说一下vue的版本吧,我估计可能是vue的这个bug a bug of"undefined" when using slot

from vue-blu.

Seven0711 avatar Seven0711 commented on May 18, 2024

我用的vue版本号是2.1.0,是太旧了吗?

from vue-blu.

chenz24 avatar chenz24 commented on May 18, 2024

我自己的测试环境是:

"vue": "^2.1.6",
"vue-loader": "^10.0.2",
"vue-template-compiler": "^2.1.6",

package.json里改成上面的配置,你再试一下
vue官方的issue里确实出现过slot渲染出undefined的问题,我自己暂未碰到,我会再测一下

from vue-blu.

Seven0711 avatar Seven0711 commented on May 18, 2024

我已经把package.json里的配置改成您说的那样了,还是看到了里面有undefined,我今天有时间的话再仔细看看,有什么进展再来说一下

from vue-blu.

syifeng avatar syifeng commented on May 18, 2024

组件很多都是听漂亮的,除了这个select标签,这个如果做的效果也漂亮点的话,就果断上vue-blu了,希望作者做些修改 ,select下拉框无缝连接,而且option也有做样式
default

from vue-blu.

chenz24 avatar chenz24 commented on May 18, 2024

@syifeng 第一版还没有来得把这些做全。下一步的计划里有select组件、级联组件。相信不会太久就会出来,请保持关注

from vue-blu.

Ludejin avatar Ludejin commented on May 18, 2024

@chenz24 请问如果只拿UI结合自己spring 项目改怎么做?引入组件和相关的js css scss就行了吗?这样会不会有问题

from vue-blu.

chenz24 avatar chenz24 commented on May 18, 2024

@Ludejin 最适合在前后端分离的场景下用这套组件。也就是spring做后端提供接口,通过json和前端进行数据交互。

from vue-blu.

Ludejin avatar Ludejin commented on May 18, 2024

@chenz24 嗯嗯,我也是这样想的,是不是pull下你的src文件夹并放到我项目前端就能正常使用了?我试了几次没出效果,所以想问下这样是不是有问题的,如果没有我再找找原因!

from vue-blu.

lizheng0515 avatar lizheng0515 commented on May 18, 2024

from vue-blu.

chenz24 avatar chenz24 commented on May 18, 2024

@lizheng0515 你应该是点了右侧的subscribe了,你取消订阅就可以了

from vue-blu.

chenz24 avatar chenz24 commented on May 18, 2024

@Ludejin 不清楚你的前端是如何构建的。我说个简单的步骤 你参考下
1.安装 vue-cli
2.用vue-cli生成一个webpack项目
3.在项目中 npm install vue-blu --save
然后按照readme里的quickstart 来搞就可以了。

鉴于这个issue可能会打扰到上面参与的小伙伴们,我会在这个回复后close掉这个issue。有问题可以提新的issue

from vue-blu.

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.