How do I use Node and Express with coffeescript and requirejs?

后端 未结 3 646
野性不改
野性不改 2021-01-02 18:01

Here\'s what I want.

  • A node application using the express webserver
  • Using coffeescript on the server and more importantly the client
  • Using re
3条回答
  •  萌比男神i
    2021-01-02 18:29

    Sorry for the new answer, but I decided to go make an account. =)

    Mimosa will give you a small Express application if you choose Express as part of the mimosa new workflow. And if you choose CoffeeScript it'll give you an Express app in CoffeeScript. And it'll have RequireJS included in the scaffolded application. So you should not need to rewrite anything. You just need to plug your stuff in. If anything the Express app it gives you will serve as an example for you to do it yourself without using Mimosa.

提交回复
热议问题