Compiling for production use
Until now we have only worked with the Sencha Cmd-generated index.html
file. We will now create a new index-dev.html
file for our development environment. The development file will be a copy of the index.html
file without the bootstrap.css
file. We will reference the default classic
theme in the index-dev.html
file as follows:
<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>TTT</title> <link rel="stylesheet" href="ext/packages/ext-theme-classic/build/resources/ext-theme-classic-all.css"> <link rel="stylesheet" href="resources/styles.css"> <!-- <x-compile> --> <!-- <x-bootstrap> --> <script src="ext/ext-dev.js"></script> <script src="bootstrap.js"></script> <!-- </x-bootstrap> --> <script src="...