We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9a4fa6 commit 96fbe16Copy full SHA for 96fbe16
generators/component/index.js
@@ -4,6 +4,10 @@ const fs = require('fs');
4
const featuresDir = path.join(process.cwd(), 'src/features');
5
const features = fs.readdirSync(featuresDir);
6
7
+/**
8
+ *
9
+ * @type {import('plop').PlopGenerator}
10
+ */
11
module.exports = {
12
description: 'Component Generator',
13
prompts: [
plopfile.js
@@ -1,5 +1,9 @@
1
const componentGenerator = require('./generators/component/index');
2
3
+ * @param {import('plop').NodePlopAPI} plop
module.exports = function (plop) {
plop.setGenerator('component', componentGenerator);
};
0 commit comments