Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 746 Bytes

README.md

File metadata and controls

37 lines (31 loc) · 746 Bytes

set up

db operation

mysqlにログインして下のコマンド実行

create database sotsu;
create user sotsu@localhost identified by "sotsu";
grant all on sotsu.* to sotsu@localhost identified by "sotsu";

shell operation

$ cp .env.example .env
$ composer install
$ php artisan key:generate
$ php artisan migrate --seed
$ php artisan serve

how to laravel-mix sass compile

  1. First, initialize npm.
$ npm install
  1. Write file name to webpack.mix.js.
mix.js('resources/js/[js-file-name]', 'public/js')
    .sass('resources/sass/[scss-file-name]', 'public/css');

and more options

  1. Execute mix
$ npm run dev