Skip to content

zhongbr/towxml-uniapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

towxml-uniapp

towxml uniapp适配

基于towxml项目的uniapp适配: 项目地址

测试支持App、H5和微信小程序平台,其他平台暂未测试

quicker_f991fc46-a125-44ac-ae3b-ca4f220b3fbd.png

使用注意事项

main.js中添加如下代码段:

// App端和H5引入需要全局引入Decode组件
// #ifdef APP-PLUS || H5
import Decode from './components/towxml/decode.vue'; // 路径根据实际情况作适当的修改
Vue.component('decode', Decode);
// #endif

App.vue中需要引入如下的css:

@import url("@/components/towxml/main.css");

经过我的测试,只有在app.vue中引入的css,才可以对动态生成的节点起作用,其他文件中引入的css文件会被uniapp的编译器修改,不能对新产生的节点生效。

About

towxml uniapp适配

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published