Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我现在在项目根目录下有一个/src/pages/home.vue,我想忽略这个, #194

Open
OnlyTL opened this issue Jan 14, 2025 · 2 comments

Comments

@OnlyTL
Copy link

OnlyTL commented Jan 14, 2025

          我现在在项目根目录下有一个/src/pages/home.vue,我想忽略这个,

我在vite.config.ts中这样配置

UniPages({
      exclude: [
        '**/pages/home.vue'
      ]
    }),

这样写对吗,为什么还是会在page.json中生成这个页面

Originally posted by @OnlyTL in #124 (comment)

@KeJunMao
Copy link
Member

删除此文件

@OnlyTL
Copy link
Author

OnlyTL commented Jan 14, 2025

删除此文件

删除?不能通过exclude忽略吗,还是pages下的不能忽略

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants