Create and Run Your First ZK Application with IntelliJ and ZKIdea"
From Documentation
Line 15: | Line 15: | ||
#On IntelliJ's main menu bar, select File > Settings > Plugins.<br/>Or from the welcome screen: select Configure > Plugins<br/><br/> | #On IntelliJ's main menu bar, select File > Settings > Plugins.<br/>Or from the welcome screen: select Configure > Plugins<br/><br/> | ||
#Type '''ZK''' into the search bar, and then install it. <br/>[[Image: ZKInstallationGuide_IntelliJ_InstallZKPlugin.png]]<br/><br/> | #Type '''ZK''' into the search bar, and then install it. <br/>[[Image: ZKInstallationGuide_IntelliJ_InstallZKPlugin.png]]<br/><br/> | ||
+ | #After installation, restart IntelliJ when prompted to activate the plugin. | ||
=Create a New ZK Project= | =Create a New ZK Project= |
Revision as of 03:51, 30 November 2016
ZKIdea is an IntelliJ plugin for ZK application development contributed by Mr. Jumper Chen.
Install ZK IntelliJ Plugin
Install IntelliJ
- Download the latest IntelliJ IDE from here
Install ZK plugin
- Start IntelliJ
- On IntelliJ's main menu bar, select File > Settings > Plugins.
Or from the welcome screen: select Configure > Plugins - Type ZK into the search bar, and then install it.
- After installation, restart IntelliJ when prompted to activate the plugin.
Create a New ZK Project
- On IntelliJ main menu bar, select File > "New Project" > Maven
- On the New Project wizard, select a "Project SDK", check "Create from archetype", scroll to the end of the list, select a ZK archetype, and press "Next" to create a project.
- Fill in the information about your project and press "Next".
- Check all the information about your project and press "Next".
- Fill in the project location and press "Finish".
Run the ZK Project
- On IntelliJ main menu bar, select Run > "Edit Configurations"
- Press the plus icon "+" to add a maven runtime
- Fill in the project information and type "jetty:run" into the "Command Line" field, and then press "Apply" and "OK"
- Press the green run button to run a jetty server with the project
- Visit the link "http://localhost:8080/test/index.zul" on your browser
Version History
Version | Date | Content |
---|---|---|