Build beatiful Electron application with Vue JS, Vue Router, Knex JS, Bookshelf JS & Tailwind CSS. Run database queries right from the Vue Application.
Install this package globally.
$ npm i -g @vuetronex/cli
Run: vex --help
or vex
to get all the command offered with this package.
$ vex new project-name
$ vex make:page ProductPage
Out:
Page Created: ProductPage.vue
You will find the created page inside: src/pages
.
$ vex make:component ProductItem
Out:
Page Component: ProductItem.vue
You will find the created component inside: src/components
.
$ vex make:model Product
Out:
Model Created: Product.js
You will find the created model inside: models
.
Optionally you can also use -m
to make the migration as well.
Also, you can use -s
to make the seeder at the same go.
$ vex make:migration product
Out:
Migration Created: 132545626_products.js
You will find the created migration inside: migrations
.
Optionally, you can use -a
flag if you want alter table migration.
Also, you can use -s
to make the seeder at the same go.
$ vex migrate
$ vex migrate:rollback
$ vex make:seed product
Out:
Seeder Created: 132545626_products.js
You will find the created seeder inside: seeds
.
$ vex seed
Not done yet. Plans for future.
Please feel free to contribute to this project to better improve this as a community. And also feel free to suggest any features.
If you discover any security related issues, please email mailtokmahmed@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.