随笔分类 -  uni-app

摘要:const webpack = require('webpack'); const env = process.env.UNI_PLATFORM; module.exports = { configureWebpack: { plugins: [ new webpack.DefinePlugin({ 阅读全文
posted @ 2021-04-29 10:37 月半流云 阅读(945) 评论(0) 推荐(0)
摘要:目前使用 vue.config.js 中的 outputDir 是不生效的。 可以通过设置环境变量 UNI_OUTPUT_DIR 来处理,例如设置 H5 的 release 环境打包目录: "scripts": { "build:h5:release": "cross-env NODE_ENV=re 阅读全文
posted @ 2021-04-28 12:01 月半流云 阅读(3288) 评论(0) 推荐(0)
摘要:测试用富文本如下: <p style="border: 0px; margin-top: 0.63em; margin-bottom: 1.8em; padding: 0px; counter-reset: list-1 0 list-2 0 list-3 0 list-4 0 list-5 0 l 阅读全文
posted @ 2020-10-03 14:36 月半流云 阅读(1740) 评论(2) 推荐(0)