nuxt-community / express-template

Starter template for Nuxt 2 with Express.
https://codesandbox.io/s/github/nuxt-community/express-template
1.25k stars 239 forks source link

Switch to express #105

Closed kossa closed 6 years ago

kossa commented 6 years ago

Hello,

I used nuxt-community/starter-template once I finished my project, I want to use express, there is way to switch directly ? or to run my code on express ?

Thank you

This question is available on Nuxt.js community (#c84)
hartmut-co-uk commented 6 years ago

Hi, @kossa have a look at https://github.com/nuxt-community/express-template

kossa commented 6 years ago

The project already exist, i’ll not start a new project!!

hartmut-co-uk commented 6 years ago

sure, but you can still check out how to setup express as your server.. just as a starting point if you're still interested... https://github.com/nuxt-community/express-template/blob/master/template/server/index.js

kossa commented 6 years ago

More clear, Thank you for help :D

gamelaster commented 6 years ago

I recommend to use this as example of using express in existing nuxt application, since it's using a new abilities of nuxt: https://nuxtjs.org/examples/auth-routes Or maybe, best for you will be this module https://github.com/uptownhr/nuxt-express-module