wepyjs / wepy-weui-demo Goto Github PK
View Code? Open in Web Editor NEWWeUI 在 WePY 中的使用示例,同一份代码可以运行在小程序上和Web上
License: MIT License
WeUI 在 WePY 中的使用示例,同一份代码可以运行在小程序上和Web上
License: MIT License
npm install 的时候总是提示网络错误,把 package.json 里的 name 改掉就好了。
能找到这个原因我也是服了我自己。
克隆不了,没有权限
/usr/local/lib/node_modules/wepy-cli/lib/web/index.js:354
wpys.forEach(function (wpy, i) {
^
TypeError: wpys.forEach is not a function
at Object.compile (/usr/local/lib/node_modules/wepy-cli/lib/web/index.js:354:14)
at /usr/local/lib/node_modules/wepy-cli/lib/web/index.js:235:34
at Array.forEach ()
at Object.toWeb (/usr/local/lib/node_modules/wepy-cli/lib/web/index.js:227:28)
at /usr/local/lib/node_modules/wepy-cli/lib/compile.js:364:37
at Array.forEach ()
at Object.build (/usr/local/lib/node_modules/wepy-cli/lib/compile.js:362:19)
at Command.module.exports (/usr/local/lib/node_modules/wepy-cli/lib/bin/wepy-build.js:12:21)
at Command.listener (/usr/local/lib/node_modules/wepy-cli/node_modules/commander/index.js:315:8)
at emitTwo (events.js:126:13)
at Command.emit (events.js:214:7)
at Command.parseArgs (/usr/local/lib/node_modules/wepy-cli/node_modules/commander/index.js:651:12)
at Command.parse (/usr/local/lib/node_modules/wepy-cli/node_modules/commander/index.js:474:21)
at Object. (/usr/local/lib/node_modules/wepy-cli/lib/bin/wepy.js:35:21)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
wepy build
后, 开发工具报:
thirdScriptError
sdk uncaught third Error
module "npm/wepy/lib/native.js" is not defined
Error: module "npm/wepy/lib/native.js" is not defined
at require (http://127.0.0.1:10950/appservice/__dev__/WAService.js:1:1043104)
at http://127.0.0.1:10950/appservice/__dev__/WAService.js:1:1042854
at http://127.0.0.1:10950/appservice/npm/wepy/lib/app.js:9:15
at require (http://127.0.0.1:10950/appservice/__dev__/WAService.js:1:1043245)
at http://127.0.0.1:10950/appservice/__dev__/WAService.js:1:1042854
at http://127.0.0.1:10950/appservice/npm/wepy/lib/wepy.js:7:12
at require (http://127.0.0.1:10950/appservice/__dev__/WAService.js:1:1043245)
at http://127.0.0.1:10950/appservice/__dev__/WAService.js:1:1042854
at http://127.0.0.1:10950/appservice/app.js:7:13
at require (http://127.0.0.1:10950/appservice/__dev__/WAService.js:1:1043245)
wepy 1.7.1 build 后zanui的wxss全部为空,没有了样式
Web 版线上DEMO 无法访问
运行之后,navbar界面展示不出来?
目前 bulid后的web应用是单体应用,如何编译才能实现安需加载,我看
新手弱弱的问一下,按照文档指示安装遇到以下错误:
VM9051:1 Page[example/index] not found. May be caused by: 1. Forgot to add page route in app.json. 2. Invoking Page() in async task.
Error: pngquant failed to build, make sure that libpng-dev is installed
这是个什么东东?
道友 请问你是把 wepy-weui-demo/src/style/
下面的样式文件都改了后缀名了吗
Tencent/weui-wxss 的样式文件
由原来的 wxss => less 手动改了下后缀名?
还是怎么弄的?
Error: ENOENT: no such file or directory, open 'C:\Users\cicaba\Desktop\wepy-weui-demo-master\dist\game.json'
dist 文件更新了, 但是web文件夹没变
hello world
目前 bulid后的web应用是单体应用,如何编译才能实现安需加载,我看https://weui.io/演示的没有在一个JS文件中的
编译无报错,启动后在微信开发者工具中报错如下
VM249 WAService.js:1 Uncaught TypeError: Cannot set property 'Promise' of undefined
at index.js? [sm]:4
at require (VM249 WAService.js:1)
at VM249 WAService.js:1
at app.js? [sm]:4
at require (VM249 WAService.js:1)
at :1:1
at HTMLScriptElement.scriptLoaded (appservice?t=1574227100476:1830)
at HTMLScriptElement.script.onload (appservice?t=1574227100476:1842)
不知这个办法,大家怎么看?
和官方的相比,缺少以下样式
.weui-loadmore_dot{
.weui-loadmore__tips{
padding:0 .16em;
&:before{
content: " ";
width:4px;
height:4px;
border-radius:50%;
background-color: @weuiLineColorLight;
display: inline-block;
position: relative;
vertical-align: 0;
top:-.16em;
}
}
}
.weui-loadmore__tips_in-dot{
position: relative;
padding:0 .16em;
width: 4px;
height: 1.6em;
&:before{
content: " ";
position: absolute;
top: 50%;
left: 50%;
margin-top: -1px;
margin-left: -2px;
width: 4px;
height: 4px;
border-radius: 50%;
background-color: @weuiLineColorLight;
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.