https://kotlinlang.org logo
Join SlackCommunities
Powered by
# vuejs
  • l

    lewik

    01/30/2018, 11:52 AM
    Did anybody use kotlin maps/lists in vue/vuex state? Is there any issues while vue adding reactivity to kotlin colelctions?
  • l

    lewik

    03/06/2018, 2:58 PM
    Am I right? that there are no Vue-kotlin libs? Like reading .vue and external classes?
  • l

    lewik

    03/06/2018, 3:11 PM
    Hi @dany
  • l

    lewik

    03/06/2018, 3:11 PM
    Did you try to use Vue, writing kotlin code only?
  • d

    dany

    03/06/2018, 3:12 PM
    hello kind of
  • d

    dany

    03/06/2018, 3:12 PM
    but long time ago and without much success (only a small project running)
  • d

    dany

    03/06/2018, 3:13 PM
    I would love for a kotlin loader in .vue files
  • d

    dany

    03/06/2018, 3:13 PM
    I never tried this project https://github.com/nosix/vue-kotlin
  • l

    lewik

    03/06/2018, 3:16 PM
    He isn't maintaining his project
  • l

    lewik

    03/06/2018, 3:26 PM
    Did anybody analyze that project?
  • l

    lewik

    03/06/2018, 3:26 PM
    I'm (re)writing large project, want to use Vue, so I plan to make this fully on kotlin. (Or just try )) )
  • l

    lewik

    03/06/2018, 3:36 PM
    Looks that nosix had right idea with kotlin files
  • l

    lewik

    03/06/2018, 4:00 PM
    Unable to run it locally(
  • l

    lewik

    03/06/2018, 4:05 PM
    So that guy just write class with 3 properties (style, code, html) style and code written with builder, so this is simple to get string And code... he tries to require a file - comtiled from kotlin (idk how he could to do this) Anyway its possible to link code to compiled result. Like..
    Copy code
    <script>
    export default yourModule.com.company.someNameOfPlainObject
    </script>
    This will work, I tested that already
  • l

    lewik

    03/06/2018, 4:05 PM
    So... all we need is just... generate .vue files and start vue-loader
  • l

    lewik

    03/06/2018, 4:06 PM
    1. kotlin to js + .vue 2. than give it to webpack with vue-loader
  • l

    lewik

    03/06/2018, 4:45 PM
    https://github.com/nosix/vue-kotlin/blob/master/vuekt-plugin/src/main/kotlin/org/musyozoku/vuekt/js2vue/Js2VueTask.kt How this
    "node <js2vue translator>.js"
    works?
  • s

    Soren Valle

    09/16/2019, 11:41 PM
    https://github.com/SorenV/kotlin-vue
  • s

    Sam

    09/17/2019, 2:47 AM
    I really love
    Vue
    but the reason Jetbrain don’t provide the kotlin wrapped Vue is
    Copy code
    Do the existing wrappers have known shortcomings? We provide kotlin-react because we use it extensively ourselves, but we aren't using Vue. It's probably better to have wrappers developed by someone who actually uses them 😉
    Ref: https://github.com/JetBrains/kotlin-wrappers/issues/27
  • s

    Sam

    09/17/2019, 3:06 AM
    Really sad to heard that news
  • s

    Soren Valle

    09/17/2019, 11:27 AM
    I read that and that's why I started my own for the community, feel free to chip in!
    👍 3
  • i

    ivano

    12/01/2019, 12:53 PM
    I do not get what is the purpose of this channel? I am using Ktor and would like to use vuejs instead of Freemarker
  • b

    bjonnh

    12/02/2019, 6:50 PM
    Some worked on ways to use Vue with kotlin code instead of JS/TS.
  • b

    bjonnh

    12/02/2019, 6:50 PM
    In my case, I'm only using Vue as front-end of Ktor and Spring
  • b

    bjonnh

    12/02/2019, 6:51 PM
    (with Vue still in JS/TS)
  • i

    ivano

    12/03/2019, 12:36 PM
    OK thanks
  • n

    Nikky

    12/05/2019, 11:23 PM
    i am trying to use
    SorenV/kotlin-vue
    (i myself never worked with vue, but i want to get a webdev on board that knows both vue and kotlin) does anyone have a working example of this using the multiplatform gradle plugin instead of kotlinjs ? (i already have a few common sourcesets and a ktor server, etc) i do not quie understand the differences between using
    implementation(npm(...))
    or the
    npm {}
    block with a the frontend plugin or if i can use that dependency when i use mpp 😕 ❔
  • d

    Daniele B

    09/20/2020, 1:20 PM
    Is there any plan to support Vue.js the same way Kotlin is now supporting React, using Kotlin DSL?
    k
    l
    • 3
    • 4