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

custom template forget replace #4355

Open
gengjiawen opened this issue Jul 3, 2024 · 0 comments
Open

custom template forget replace #4355

gengjiawen opened this issue Jul 3, 2024 · 0 comments
Labels
kind/bug Something isn't working status/triage

Comments

@gengjiawen
Copy link
Contributor

What is the problem?

blitz generate all p2 name:string description:string? active:boolean

for src/app/p2s/components/NewP2.tsx, function name is New__ModelName, should be New_P2

cc @siddhsuresh

Paste all your error logs here:

export function New__ModelName() {

Paste all relevant code snippets here:

PASTE_HERE (leave the ``` marks)

What are detailed steps to reproduce this?

see abouve

Run blitz -v and paste the output here:

 Package manager: pnpm

  System:
    OS: macOS 14.5
    CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
    Memory: 19.70 MB / 32.00 GB
    Shell: 3.7.1 - /usr/local/bin/fish
  Binaries:
    Node: 20.13.0 - /usr/local/bin/node
    Yarn: 1.22.22 - ~/Library/pnpm/yarn
    npm: 10.5.2 - /usr/local/bin/npm
  npmPackages:
    @blitzjs/auth: 2.0.10 => 2.0.10 
    @blitzjs/next: 2.0.10 => 2.0.10 
    @blitzjs/rpc: 2.0.10 => 2.0.10 
    @prisma/client: 5.4.2 => 5.4.2 
    blitz: 2.0.10 => 2.0.10 
    next: 14.2.4 => 14.2.4 
    prisma: 5.4.2 => 5.4.2 
    react: 18.2.0 => 18.2.0 
    react-dom: 18.2.0 => 18.2.0 
    typescript: 5.1 => 5.1.6 

Please include below any other applicable logs and screenshots that show your problem:

No response

@gengjiawen gengjiawen added kind/bug Something isn't working status/triage labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working status/triage
Projects
None yet
Development

No branches or pull requests

1 participant