开发者

play crud:ov --template

开发者 https://www.devze.com 2023-04-02 02:26 出处:网络
I\'m trying to overwrite the default template for a view generated by the crud module, I\'v开发者_开发百科e been following this tutorial but when I run this command:

I'm trying to overwrite the default template for a view generated by the crud module, I'v开发者_开发百科e been following this tutorial but when I run this command:

$ play crud:ov --template Posts/show

play! returns Invalid command: crud:ov

I'm using windows command prompt, and play! framework 1.2.3


From the online docs, it says

Open a shell, go the application directory and type:

play crud:ov --template Posts/show

So, I think the problem is just where you are running the command from. If you are not in your application, Play does not know which application it is updating the CRUD view.


try with this command :

$ play crud:ov {PATH_OF_YOUR_PROJECT} --template Posts/show
0

精彩评论

暂无评论...
验证码 换一张
取 消