-n => The name of the new filter (Name should be Camel Case - Ex: feedCard).A component should be preferred as it will create the template (.pug) and stylesheet (.scss). -r => Type of directive (Default: AE)Ĭreates a stand-alone directive and copies a snippet to your clipboard.-t => The path to the template you would like to use.-a => The list of attributes for the directive (Comma Separated). ![]() -n => The name of the new directive (Name should be Camel Case - Ex: feedCard).Controllers are automagically created with adding of a state, page, or component and are the preferred commands for getting a controller. -d => The list of dependencies that need to be injected (Comma Separated)Ĭreates a controller and should only be used when needing a controller standing alone.-n => The name of the new controller (Name should be Camel Case - Ex: feedCard).If no flags are passed it will prompt you to answer questions. The flags are not required, they just make it faster if you know what you want. These commands allow quick adding of different peices of the application. The file watcher that runs builds for each type of file (This task is auto-run with gulp). Inline CSS and JS files that have inline attribute on your index page. Inject CSS and JS files into your index page. Runs a build of the entire project, that will include scss, ts, pug, images, ect. These commands will build different pieces of your application. ![]() ![]() is setup then this command will run a stenciljs build using that config. So an example would be I create the following file in the root or run enjin env app to have it created for you. Then all the commands accept a -e flag that you can use to set the environment. You also have a enjin.*.json files to overwrite variables set in enjin.json or add new values per environment. All of the variables for your application are stored in enjin.json file. This project is being built with the Madness Enjin, so it helps to understand some basic concepts of the tool. Please consider one of our other stacks if you are starting a new project. This build process is for existing ionic1 / angular 1 applications looking to migrate out of these old technologies and into new ones.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |