creamie-cli v1.0.0
If you find this framework more useful
Installation
Installing the below command will give you superpowers🔥 to control creamie project.
npm install -g creamie-cli
Get Started!
By smashing the below command will generate a new creamie project where you can build your front-end palace.
creamie create <app-name>
Don't forget to cd <app-name>/
.
Follow CLI logs to get a clear picture of what to do!
When you have super control of creamie project why you need to create components manually, use below command
creamie component <component-name>
You can also use '-r' option to create a new component over already existing component with same name.
creamie component <component-name> -r
Note: Above command will replace your component with same name which means your old code will be deleted!
Application serving
Your application is filled with webpack fuel which will launch your rocket (application updates) towards the space (Browser).
npm run development
Whenever you have changes in your code. You don't need to save there and refresh your browser again. Webpack will do it for you. Before developing just ignite above command.
To generate compressed pack of web bundle.
npm run build
Your compressed web bundle will hides in 'dist/' folder.
New for webpack ? look out>>
Deployment
When you are finished with your development and your product is ready to rock-n-roll move application to your respective server.
Use npm install
, so you'll never disappoint at your first deployment.
Once everything is set to go, npm start
will start its deployment work.
Your production launch will be taking care by pm2.
Change the configuration based on your requirements in ecosystem.config.js
.
For more updates check out official docs below
Contributors
Example
Copyrights
(c) 2020, Haribalaji Raviprakash