-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
not wroking in laravel #56
Comments
Hello! I don't really know about the specifics of Laravel and why it wouldn't work in this specific environment. |
sure I'll make you a laravel repo with vue-kinesis installed I'll add you to the repo |
@aminerman i set up an empty laravel project and installed vue-kinesis and imported it and wrote you the instructions |
Thank you Sara, I'll give it a look and get back to you as soon as I can. |
Hello, is there any updates for this issue? I'm trying to use it in Laravel and VueJS 3 and it's not working |
@MooseSaeed No updates here as, in order to provide a solution, I need an out-of-the-box working Laravel project. @saraElsanan provided a repository but I have to install dozens of things, configurations etc to make it work. Also, I have no idea what are the specificities of a Laravel project that would prevent this from working. So please, if you or someone who is enough knowledgeable about Laravel can debug it, it would be helpful. Otherwise, I can't do much. |
@aminerman Thanks for responding so quickly! I'm trying to use Kinesis in Laravel project but for some reason it's not working. I can be so descriptive about the issue but i'm not sure if i should do it here or open a new issue on Github as i'm getting different error than the one mentioned above. |
@MooseSaeed Thanks for the kind words. I'd advise you to first test if it's specific to Laravel : either create a Vite project or in CodeSandbox. If it's Laravel then you can give more details here about your error. Otherwise it would be better to open a new issue. |
@aminerman Well all i'm trying to do is to use the example on https://aminerman.com/kinesis/#/ and that's it. I was just trying to get it to work by following how to use steps but it just doesn't work. I will share here what the steps i've taken and what it led me to in order to see if you can help out. Thanks again! :) |
@aminerman It just worked 😄 I was importing VueKinesis in app.js since it's where I mount on All I did was running <template>
<kinesis-container>
Here, you can put
<kinesis-element :strength="10"> whatever </kinesis-element>
<kinesis-element :strength="20"> content! </kinesis-element>
</kinesis-container>
</template>
<script>
import VueKinesis from "vue-kinesis";
import { KinesisContainer, KinesisElement } from "vue-kinesis";
export default {
components: { VueKinesis, KinesisContainer, KinesisElement },
};
</script>
<style></style> Then in my blade I called the component like this: <x-bloglayout>
<div class="justify-center text-center text-white">
<Testing />
</div>
</x-bloglayout> And i got it working like this. not sure yet if it's the right behavior but i will read the docs and go from there Thanks for trying to help :) |
@aminerman I can't find a proper full code example on Vue Kinesis. I searched everywhere and I couldn't find any. |
I followed the doc and added the import then use , Laravel mix is building successfully but I get this error
i used this code in the doc
<kinesis-container> Here, you can put <kinesis-element :strength="10"> whatever </kinesis-element> <kinesis-element :strength="20"> content! </kinesis-element> </kinesis-container>
The text was updated successfully, but these errors were encountered: