gportela85/DateTimeField

Inside pkg file ,there is a "${package.build.dir}" directory, is it right?

Closed this issue · 3 comments

Delete this pkg file (not sure where you got it).
1 - Go to the main page of the DateTimeField repo and click the button "Clone or Download" and "Download ZIP"

2 - Create your project using sencha -sdk <path to framework> generate app -classic MyApp MyApp

3 - Go into MyApp and create a folder packages\local\DateTimeField or go into MyApp, run sencha generate package DateTimeField go into the package folder and delete all contents.

4 - Unzip the Downloaded package into that folder

5 - Edit the app.json file at the root of your project and include DateTimeField to the requires block if it isn't there.

Now you should be able to add xtype: 'datetimefield to your containers

I build it under extjs workspace with "sencha package build" then got the pkg file

There is no need to build the package for this, you just add it as a requirement like a charts package