custom template forget replace
- Dominant language
- TypeScript
- Stars
- 14.1k
- Forks
- 803
- PR merge metrics
- No merged PRs in 30d
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.