easteregg

easteregg

Member Since 4 Years Ago

Tehran

developer at Raymand

Experience Points 16,715
Experience Level 4

3,285 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 167
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

08 Apr
2 years ago

easteregg left a reply on Laravel Modular Approach

You can create multiple composer packages for your project, usually I use 20+ packages for a project. Most of them act as modules, each package defines the routes, controllers, views, etc, and all of them are bound to laravel app using at least one service provider.

Maintaining an application using composer packages works better for me. is there a reason that you want to go modular with strict namespacing?

05 Jun
3 years ago

easteregg left a reply on Vue Accessing And Modifying Props In Components

You can pass the data via props, just remember to enable two way data binding in props definition. take a look at this section of the docs:

easteregg left a reply on Vue Accessing And Modifying Props In Components

If I get your question correctly, You only need to add a property to your ticket object, in the selectTicket method you've provided, like (active: true) or something.

This way before sending tickets back to the server, you can check if their active is true and filter the array.

30 Nov
3 years ago

easteregg started a new conversation Video Player With Keyboard Shortcuts

Please change the player like before or something that we can use arrow keys and space to control it, it's really frustrating to always use the mouse.

25 Nov
3 years ago

easteregg left a reply on Vueify + Elixir + Lost Grid

OK ! I got it to a section where gulp is not throwing an error, but definitely I cannot see the proper results. this is the updated one, but yet again, It is not working. maybe I'm down the wrong path:

var elixir = require('laravel-elixir');

elixir.config.publicDir = 'src/Resources/assets/';
elixir.config.assetsPath = 'src/Resources/assets/';
elixir.config.js.browserify.transformers.push({
    name: 'vueify'
});
require('laravel-elixir-stylus');
var postStylus = require('poststylus');

elixir(function(mix) {
    mix.browserify('sellers/app.js',  "src/Resources/assets/js/sellers/bundle.js", null,{
        use: [postStylus(['lost', 'postcss-position'])]
      })
});

easteregg started a new conversation Vueify + Elixir + Lost Grid

So, this week I started utilizing what I've learned so far in Vue+Elixir areas, and the result was terrible. With trial and error and reading documentation, I've came to a place that I can't go further and need assistance. So this is the story:

I'm developing a Laravel package for a company I'm working with. It is a simple admin dashboard for an Entity. the problem is, I can't find a way to use mix.browserify(with vueify transform) and lost-grid at the same time.

This is what I came up with so far:

var elixir = require('laravel-elixir');

elixir.config.publicDir = 'src/Resources/assets/';
elixir.config.assetsPath = 'src/Resources/assets/';
elixir.config.js.browserify.transformers.push({
    name: 'vueify'
});
require('laravel-elixir-stylus');

elixir(function(mix) {
    mix.browserify('sellers/app.js',  "src/Resources/assets/js/sellers/bundle.js", {
        use: [postStylus(['lost', 'postcss-position'])]
      })
});

and it throws

/home/user/www/package/gulpfile.js:12
        use: [postStylus(['lost', 'postcss-position'])]
              ^

ReferenceError: postStylus is not defined

any advice?

07 Nov
3 years ago

easteregg left a reply on Can I Use Laravel Elixir Outside From Laravel?

@kuroi Your post helped me a lot. Just a clarification tho, I think the proper way to override configs is like this:

var elixir = require('laravel-elixir');

elixir.config.publicDir = 'src/assets/';
...

Since it throws ReferenceError: config is not defined when you reference the config variable directly.