Nested sub packages in Play framework


(sowmya) #1

Hi

I want my source code in some nested package like com.example…Can I know how to create packages

My project structure is like this
image


(Marcos Pereira) #2

Hey @ScalaDeveloper,

You can have regular packages inside app. The app/controllers, app/models, etc packages are merely a suggestion, and there is nothing preventing you to create package com.example.controllers inside app.

Best.


(sowmya) #3

Thank you @marcospereira