ExtJs - what install on server

39 Views Asked by At

I downloaded ExtJs and developed a basic application. The files created on my local area (following the guidelines) are located in the following directories:

  • App/(desktop,shared)/..
  • build
  • generatedFiles
  • node_modules
  • packages
  • resources

Now that I locally developed my application, what files (or directories) should go on server ? I ran the command "npm run build" and suppose that this shoud produce something under build. So I suppose that someting from this directory should be exported.

This my current directory:

my build area

I haven't found any doc under sencha. Does anyone know if exist some docs? Also a description of the files generated should be useful.

I need to integrate ExtJs in a web server driven with Laravel. The server side is equipped with API and enabled to handle directly a couple of pages (without extjs).

This question, for those that have difficult to understand, can be simplified with this simple: What files or directories must be copied from my local area to the server?

Thank you

1

There are 1 best solutions below

0
Dinkheller On

You want to deploy everything from within your build/production/MyApp folder, so that the index.html is in the root.

the index.html file is what runs your application:

- index.html => Webpage
- main.js    => All your js files and Ext files
                the number is a timestamp, based on your build options
- resources  => Contains complied css files (typically 3 files)
- other folders seem to be custom or npm stuff. Just copy them too