Generate Page Issue
pankajthakur950 opened this issue · comments
Pankaj Thakur commented
Creating new Page using ‘npm run generate’ generate Page component with error.
Steps to reproduce:
- Run command: 'npm/yarn run generate'
- Select the app in which you want to generate
- Enter the name of page(e.g. Details)
- Page is created under pages directory in selected app and route entry in route page.
- index.js file in Pages directory has two issues:
- while page generation, console shows linting error for missing semicolon.
- created page refers the file in path ‘../components/templates/DetailsName’ which is not created during generate command.
Khushboo Kumari commented
Issue fixed i version - "version": "1.1.1",