"dev": "cross-env NODE_OPTIONS=--openssl-legacy-provider vue-cli-service serve", "build": "cross-env NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build", "build:macos": "vue-cli-service build" }, "dependencies": { "vue": "2.6.14", "less-loader": "^6.2.0" }, "devDe...
前言 在维护公司一个技术栈为 vue2 + ts + unocss 的老项目时发现 unocss 在开发环境和正式环境都不能生效,最先以为是插件的版本问题,排查后发现是因为项目在使用 unocss 时的配置没有配置完全,根据 vue-cli 的版本按照 unocss 的官方仓库里的 example
在vue.config.js中这样配置unocss,样式是生效的,但是当我打包后,elementUI中的引用的图标不能显示 css: { loaderOptions: { sass: { sassOptions: { outputStyle: "expanded", }, }, }, extract: { filename: "[name].[hash:9].css", ignoreOrder: true, publicPath: "../../", }, }, 报错fr...
这个警告的意思是:组件提供template选项,但是在Vue的这个构建中不支持运行时编译,在你的打包工具里配置别名“vue: vue/dist/vue.esm-bundler.js”。 分析原因 项目的vue/dist目录下有很多不同的Vue.js构建版本,不同的环境使用不同的构建版本。使用构建工具的情况下,默认使用的是vue.runtime.esm-bundler.js这个仅...
npx shadcn-vue@latest add buttonfor shadcn-vue. npx shadcn-svelte@latest add buttonfor shadcn-svelte. npx solidui-cli@latest add buttonfor SolidUI. [!WARNING] You may need an emptytailwind.config.jsfile in your project root to make cli commands happy. ...
cli 模式创建 vue3+vite+ts 项目运行报错:Cannot start service: Host version “0.16.17” does not match binary version “0.14.7” 使用 安装依赖 建议使用 pnpm,依赖安装速度更快 npm i -g pnpm pnpm install MAC M1(ARM 芯片),其它操作系统无需关注,正常运行需要手动安装esbuild-darwin-64即可 ...
uniapp Vue3 Vite TypeScript 快速开发解决方案,cli 方式创建, 集成TMUIUnoCSS(实现零 CSS 开发),集成HBuilderX cli(APP 模式一键打包:自定义基座、云打包) 仓储:https://gitee.com/dodu/uniapp-starter,线上示例:live demo (H5) 特性 最新技术栈:使用 Vue3/Vite4/TypeScript5/pinia 等前端前沿技术开发;...
I want import @unocss/transformer-directives to use @apply, but it not working in the below project. Minimal reproducible example: https://stackblitz.com/edit/vue2-vue-cli-sutyue and when I use --at-apply, it still not working But in Vit...
2 changes: 1 addition & 1 deletion 2 examples/vue-cli4/package.json Original file line numberDiff line numberDiff line change @@ -1,5 +1,5 @@ { "version": "0.62.3", "version": "0.62.4", "private": true, "scripts": { "dev": "cross-env NODE_OPTIONS=--openssl-legacy-provid...
2 changes: 1 addition & 1 deletion 2 examples/vue-cli4/package.json Original file line numberDiff line numberDiff line change @@ -1,5 +1,5 @@ { "version": "0.61.3", "version": "0.61.4", "private": true, "scripts": { "dev": "cross-env NODE_OPTIONS=--openssl-legacy-provid...