- remove livicons in favor for fontawesome (one less dependency)
- closes#440
- You must rebuild your assets after migrating this commit.
rm -rf node_modules
npm install && npm run prod
assets from emojione-assets package
copies assets to public/img/emojione
emoji list for .textcomplete() from emojione-assets/emoji.json
Requires `npm run prod`
- Note: If running in production you may want to run `php artisan down`
to put site in maintenance mode.
- Note: You must run `npm run prod` and then `php artisan clear:all`.
- Note: New configurations added to the other.php config file!
- Note: make sure both commands excute for you error free!
- Note: Run `php artisan up` to bring site back out of maintenance mode.
Sometime emoji's would randomly not render due to VueJS being reactive
and during DOM updates, it would just cause it to be wacky!
By parsing the emoji's server side before VueJS renders the dom, we now
solve this issue.
ref: https://laravel.com/docs/5.6/mix
We will now handle assets primarily through packages.
Consider packages and node modules to be the same as
JavaScript/CSS libraries.
Think about it this way, if we use "composer" to import PHP packages
for backend libraries, we would then use "npm" to import JS/CSS packages
for front-end libraries.
We use "composer.json" for PHP packages and "package.json" for JS/CSS
packages.
Unlike composer, we will compile our assets into specified files
per instructed via the "webpack.mix.php" file.
Please Note, you don't version control "node_modules" nor need it in a
production environment! You do NOT edit any of the JS/CSS files in the
public directory!
With Laravel Mix using simple method chaining, you can fluently define
your asset pipeline.