title: Uncaught ReferenceError: moment is not defined while using moment in laravel with vue js
body: <p>im using laravel 5 and i installed moment js through npm install command. im trying to use it in one of my views with vue js. but no matter what i do i get error "moment is not defined" and if i use require, i get "require is not defined" below is the script section of my view.
  `</p>
  
  <pre><code>&lt;script&gt;
      var order = new Vue({
          el: '#create_order',
  
          data: {
              moment: moment,
              event_id: '',
              event_type: '',
              ticket_types: [],
              time_slots: [],
              current_timeslots: [],
              start_date: null,
              end_date: null
          },
  
          methods: {
              moment: function (date) {
                  return moment(date);
              },`
  </code></pre>
  
  <p>im beginner at this so please be as explanatory as possible, thanks.</p>