Tailwind, side barr, add new component button, layour of route

This commit is contained in:
Rotimi-Best
2020-12-26 02:22:37 +02:00
parent b700f6bb07
commit ba06a0001a
27 changed files with 1753 additions and 636 deletions
+13
View File
@@ -0,0 +1,13 @@
const fs = require('fs');
const type = process.argv[2];
const pkg = require('../package_template.json');
for (const key in pkg['merge-configs'][type]) {
Object.assign(pkg[key], pkg['merge-configs'][type][key]);
}
delete pkg['merge-configs'];
fs.writeFileSync(
__dirname + '/../package.json',
JSON.stringify(pkg, null, ' ') + '\n'
);