1 year ago


Posted 1 year ago by deepu07

Hello Folks, I'm trying to build a blog with Laravel-vue. But I'm unable to load vue.js. It is getting an error. I couldn't find why it is not loading can anyone help me?

Thanks in advance

    <div id="app" class="container">
        @include ('projects.list')      

        <form method="POST" action="/projects" @submit.prevent="onSubmit">
            <div class="control">
                <label for="name" class="label">Project Name:</label>
                <input type="text" id="name" name="name" class="input"> 

            <div class="control">
                <label for="description" class="label">Project Description:</label>
                <input type="text" id="description" name="description" class="input">
            <div class="control">
                <button class="button is-primary">Create</button>

    <script src=""></script>
    <script src="[email protected]/dist/vue.js"></script>
    <script src="../resources/assets/js/app.js"></script>

```const app = new Vue({
    el: '#app',

    data: {


    methods: {
        onSubmit() {
 '/projects', this.$data);


In console im getting GET http://localhost:8888/larapower/public/resources/assets/js/app.js 404 (Not Found)

Please sign in or create an account to participate in this conversation.