摘要:
在IDEA中: 打开设置界面 点击 Build, Execution, Deployment > Compiler > Kotlin Compiler 选择Target JVM version ,改为 1.8 Apply 阅读全文
摘要:
##一、声明注解 Kotlin声明注解的方式与Java略有不同,只需要在class前使用annotation修饰。 annotation class Foo 同Java一样,可以通过元注解来标记自定义的注解 @Target(AnnotationTarget.PROPERTY) annotation 阅读全文
摘要:
通过npm全局安装express,之后可以通过 来查看express版本 通过express server生成server项目文件 安装server的项目依赖 可以通过执行server下的bin\www文件可以开启服务 在www文件我们可以默认监听的端口为3000 通过访问http://localh 阅读全文