markthree

Results 93 comments of markthree

@shawnwildermuth Yes, it's a design problem. An easy way to solve this problem is to create `pages/customer.vue` and set the layout to `false` ```vue { "meta": { "layout": false }...

I've tried to solve the problem, but it seems to ignore parameter routing (There may be other scenarios that have not been tested), and I thought I'd try to see...

@JohnCampionJr I think there should be an option to configure whether or not nested routes inherit the default layout

@antoinerey I think it's a [listhen](https://github.com/unjs/listhen) problem. Because it works ↓ ```shell node app.mjs ``` ```ts // app.mjs import { createServer } from "node:http"; import { createApp, createError, eventHandler, getResponseStatus,...

@wanto2014 已修复,可重新 clone 模板,或者在自己的模板中添加以下内容 ![image](https://github.com/user-attachments/assets/742a98d3-2e19-4568-8d5c-ec792634b377)

![image](https://github.com/user-attachments/assets/9850ae25-538b-450e-9dd6-bd96207694ac) 似乎是 `lightningcss` 依赖内部的问题,目前没有很好的解决方案

@ygx-123456 @wahibAbdou 尝试使用小写 `a-extract-style`,如果仍然有问题请提供最小复现仓库

@go4cas This is a minimal implementation ```ts import { createApp, defineEventHandler, serveStatic } from "h3"; import { readFile, stat } from "node:fs/promises"; import { join } from "pathe"; export const...

@1569027632 看着像是 `swc` 的问题,尝试将 [vite-plugin-legacy-swc](https://www.npmjs.com/package/vite-plugin-legacy-swc) 换为更稳定的 [@vitejs/plugin-legacy](https://www.npmjs.com/package/@vitejs/plugin-legacy) 1. 先安装依赖 ```shell pnpm i @vitejs/plugin-legacy -D ``` 2. 然后在 `presets/index.ts` 中修改引入 ```ts // import Legacy from 'vite-plugin-legacy-swc' import Legacy from '@vitejs/plugin-legacy' ```

Just to provide some background context: since this is our local Node API service, I haven't had time to think it through thoroughly. Currently, I have to build it every...