Comments (9)
这个支持的
from eeui.
1、安装 npm install less less-loader --save
2、使用
<style scoped lang="less">
</style>
注:weex不支持嵌套写法
错误写法
.box{
background-color: pink;
.a {
color: red;
}
}
正确写法
.box{
background-color: pink;
}
.a {
color: red;
}
from eeui.
1、安装 npm install less less-loader --save 2、使用 <style scoped lang="less"> </style>
注:weex不支持嵌套写法
错误写法 .box{ background-color: pink; .a { color: red; } }
正确写法 .box{ background-color: pink; } .a { color: red; }
请问如何引入 pug ?
from eeui.
没用过pug 😄
from eeui.
1、安装 npm install less less-loader --save
2、使用
<style scoped lang="less"> </style>注:weex不支持嵌套写法 ```css 错误写法 .box{ background-color: pink; .a { color: red; } }
正确写法 .box{ background-color: pink; } .a { color: red; }
那和直接写css有啥区别?
from eeui.
@neterji 可以用来做公共类、公共样式
from eeui.
自己修改 webpack.config.js 添加 rules会报错
module.exports = {
module: {
rules: [
{ test: /\.pug$/, loader: "pug-plain-loader" }
]
}
};
Error: Rule can only have one result source (provided use and loader) in {
"test": {},
"use": [
{
"loader": "babel-loader",
"options": {
"presets": [
"@babel/react",
"@babel/env"
],
"plugins": [
[
"@babel/transform-runtime",
{
"helpers": false
}
],
[
"component",
{
"libraryName": "weex-ui",
"libDir": "packages",
"style": false
},
"weex-ui"
],
[
"component",
{
"libraryName": "eeui-design",
"libDir": "packages",
"style": false
},
"eeui-design"
]
]
}
}
],
"loader": "pug--plain-loader"
}
from eeui.
eeui 如何引入Pug,能否给出大致的方式呀?
from eeui.
eeui 如何引入Pug,能否给出大致的方式呀?
我在上面已经说得很清楚了吧,安装完就可以直接用,不用引入
from eeui.
Related Issues (20)
- 第三方页面,需要调用eeui上的原生功能,如何通信
- 朋友们,你们的努力方向错了,我们讨论一下,改个方向才有前途 HOT 6
- eeui.openPage softInputMode:'nothing' keyboard事件丢失
- eeui/lottie. 忽略
- How to reduce output (apk/ipa) size? HOT 5
- when I create new project, this happened
- error when i use "eeui run android"
- h5与原生插件交互,onJsPrompt方法所能接收的message最大10kb左右,超过自动截断数据,有什么解决办法?
- Android新手挖坑指南 HOT 1
- 安卓11,用了toast组件后闪退。 HOT 2
- component SideDrawer?
- BUG: android build never finish HOT 1
- Android端
- Android端:场景示例:目前顺序打开a、b、c、d四个页面,d为当前页面,打开第五个页面e,需要关闭前面a、b、c、d四个页面,如何实现 HOT 1
- 下载的模板2.5.0出现,CMake Error: The source directory "../plugins/eeui/WeexSDK/android/sdk/src/legacyRelease/cpp" does not exist.这个问题怎么回事
- 不维护了吗,好尴尬 HOT 2
- 怎么设置首页状态栏的背景色 HOT 2
- appboard下面使用import引入其他js文件的时候报错,ReferenceError: Can't find variable: require HOT 1
- as 连接真机编译debug的问题
- dependency app.eeui:zxing:1.0.2的maven仓库地址无法访问
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eeui.