React Native: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(14 intermediate revisions by the same user not shown) | |||
Line 40: | Line 40: | ||
</source> | </source> | ||
|} | |} | ||
<source lang="java"> | |||
@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:/"); | |||
} | |||
} | |||
</source> | |||
==References== | ==References== | ||
{| | |||
| valign="top" | | |||
* [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://medium.com/@oreofeolurin/configuring-scss-with-react-create-react-app-1f563f862724 How to Configure React with SASS?] | |||
* [https://medium.com/@mattoakes/a-better-way-to-automatically-merge-changes-in-your-xcode-project-files-3d83b3583fe4 Automatically Merge XCode Project] | |||
* [https://itnext.io/building-multi-page-application-with-react-f5a338489694 Multi Page Application with React] | |||
* [https://www.baeldung.com/spring-security-login-react Spring Security for React] | |||
* [https://stormpath.com/blog/spring-boot-stormpath-react-sdk Spring Boot with React] | |||
* [[Progressive Web App]] | |||
* [https://stackoverflow.com/questions/43413331 React Server Issues] | |||
| valign="top" | | |||
* [https://medium.com/dailyjs/how-to-build-and-deploy-a-full-stack-react-app-4adc46607604 How to Build and Deploy a React-App] | |||
* [https://facebook.github.io/react-native/docs/getting-started Getting Started] | * [https://facebook.github.io/react-native/docs/getting-started Getting Started] | ||
* [[Smart Admin]] | |||
| valign="top" | | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" | | |||
* [[PrimeFaces]] | |||
* [[JavaScript]] | |||
* [[Angular:4]] | |||
* [[ReactJS]] | |||
* [[ExtJS]] | |||
* [[NPM]] | |||
* [[Yarn]] | |||
| valign="top" | | |||
| valign="top" | | |||
|} |
Latest revision as of 21:40, 12 January 2024
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:/");
}
}