React Native: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 56: Line 56:
==References==
==References==
* [https://www.sencha.com/blog/how-to-use-a-cordova-build-profile-with-sencha-command-and-ext-js-using-universal-toolkit/ How to Use a Cordova Build Profile with Sencha?]
* [https://www.sencha.com/blog/how-to-use-a-cordova-build-profile-with-sencha-command-and-ext-js-using-universal-toolkit/ How to Use a Cordova Build Profile with Sencha?]
* [https://medium.com/@agoiabeladeyemi/the-complete-guide-to-forms-in-react-d2ba93f32825 The complete guide to Forms in React]
* [https://www.sencha.com/support/faqs/does-extreact-support-react-native-apps-as-well/ Does ExtReact support React Native?]
* [https://www.sencha.com/support/faqs/does-extreact-support-react-native-apps-as-well/ Does ExtReact support React Native?]
* [https://medium.com/@oreofeolurin/configuring-scss-with-react-create-react-app-1f563f862724 How to Configure React with SASS?]
* [https://medium.com/@oreofeolurin/configuring-scss-with-react-create-react-app-1f563f862724 How to Configure React with SASS?]

Revision as of 18:42, 27 October 2019

brew install yarn
brew install node
brew install watchman

brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk8
vim $HOME/.bash_profile
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
https://chorke.org/
 └─ default controller
     ├─ api controller
     ├─ mob controller
     ├─ tab controller
     └─ web controller
https://chorke.org/
 └─ DefaultController
     ├─ APIController
     ├─ MOBController
     ├─ TABController
     └─ WEBController
@Configuration
public class WebConfiguration extends WebMvcConfigurerAdapter {

  @Override
  public void addViewControllers(ViewControllerRegistry registry) {
      registry.addViewController("/{spring:\\w+}").setViewName("forward:/");
      registry.addViewController("/**/{spring:\\w+}").setViewName("forward:/");
      registry.addViewController("/{spring:\\w+}/**{spring:?!(\\.js|\\.css)$}").setViewName("forward:/");
  }
}

References