Nuxt.js: Nuxt in JVM

Created on 10 Jan 2017  路  5Comments  路  Source: nuxt/nuxt.js

Many large enterprises will not be running node for a long time. It would be really amazing to have nuxt run in the jvm under nashorm. My question is:

How much of nuxt is dependant on v8 API?
How much of nuxt is dependant on node API?

There are ways to shim/bridge these APIs in the JVM and I would be most interested to port nuxt to the JVM if it sounds feasible. I think many enterprises would fancy such a solution.

This question is available on Nuxt.js community (#c93)
question

Most helpful comment

This is slightly off topic, buy I am using Nuxt to generate a static website which can work with our java webserver. So this is one area I think where Nuxt will be extremely valuable, to generate assets for websites running of tomcat or any other java webserver.

All 5 comments

Hi @jbadeau

Nuxt is dependant on node API as much as all its dependencies are dependant on node and v8 API.

I think it would be pretty hard and it's not our priority, we hope that large companies will start using node.js and follow already big companies whom adopted it (Netflix, Walmart, LinkedIn, Medium, Paypal, Uber, NYT...).

Also, I have 0 knowledge in Java :)

But I'd love to see someone porting Nuxt to JVM, it would be legendary!

I mostly asked because I saw the line in the documentation "It doesn't make use of any transpilers and depends upon Core V8 implemented features." I wasn't quite sure what was meant by that statement. Do you mean to say implement es6/7 features or API?

In general I don't care too much about the what jsvm my code is running in (v8, chakra, nashorn) but enterprises are slow at migrating or moving and nuxt + hashorn = nuxthorn would provide a solution today. Anyway; I will give it a try this weekend? Let's see. Thanx for your feedback 馃榾

This was before we used webpack to build the library to finally I don't really know what specs of V8 Nuxt.js depends.

If you can try this weekend, I'd love to hear your feedback!

This is slightly off topic, buy I am using Nuxt to generate a static website which can work with our java webserver. So this is one area I think where Nuxt will be extremely valuable, to generate assets for websites running of tomcat or any other java webserver.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mattdharmon picture mattdharmon  路  3Comments

maicong picture maicong  路  3Comments

pehbehbeh picture pehbehbeh  路  3Comments

surmon-china picture surmon-china  路  3Comments

shyamchandranmec picture shyamchandranmec  路  3Comments