Skip to content

Instantly share code, notes, and snippets.

@kklecho
Last active December 9, 2019 02:52
Show Gist options
  • Save kklecho/e7942cdf4dd7f9e65bb4d1b1ca226704 to your computer and use it in GitHub Desktop.
Save kklecho/e7942cdf4dd7f9e65bb4d1b1ca226704 to your computer and use it in GitHub Desktop.
# https://developer.okta.com/blog/2018/06/14/php-crud-app-symfony-vue
# https://bootstrap-vue.js.org/docs/components/pagination/
#console1
mkdir -p ~/Project/movb
cd ~/Project/movb
symfony new movb-server --version=lts
composer require sensio/framework-extra-bundle
composer require symfony/orm-pack
composer require symfony/maker-bundle --dev
composer require nelmio/cors-bundle
php -S 127.0.0.1:8000 -t public
# console2
npm install -g @vue/cli
vue create movb-client
cd create movb-client
npm install vue-router
npm i --save axios
yarn serve
# console3
cd ~/Project/movb
php bin/console make:entity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment