Skip to content

Commit

Permalink
convert tab to space
Browse files Browse the repository at this point in the history
  • Loading branch information
seiya0914 committed Mar 19, 2024
1 parent 4f8937c commit 47bd976
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions plopfile.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = function (
/** @type {import('plop').NodePlopAPI} */
plop
) {
/** @type {import('plop').NodePlopAPI} */
plop
) {

// declare a new generator
// declare a new generator
plop.setGenerator('component', {
description: 'Create a React component',
prompts: [{
Expand All @@ -18,13 +18,13 @@ module.exports = function (
}]
});

plop.setGenerator('routes', {
description: 'Create routes',
prompts: [],
actions: [{
type: 'add',
path: 'src/routes.ts',
templateFile: 'plop-templates/routes.hbs'
}]
})
plop.setGenerator('routes', {
description: 'Create routes',
prompts: [],
actions: [{
type: 'add',
path: 'src/routes.ts',
templateFile: 'plop-templates/routes.hbs'
}]
})
};

0 comments on commit 47bd976

Please sign in to comment.