Angular 基础1.安装angular的脚手架(安装 过的可以忽略 )npm install
转载
2024-05-13 20:23:39
156阅读
从angular官网下载了一个案例代码,准备在本地运行,提示:Cannot find module '@angular/compiler-cli'尝试了安装这个模块的指令,重新运行,又提示找不到其他的模块。因此考虑是否有一次性解决的办法。网上找了一圈,stackoverflow上的:https://stackoverflow.com/questions/45902644/the...
原创
2021-06-01 16:15:56
689阅读
1.首先下载Node.js官网:https://nodejs.org/en/楼主下的是v.7.1.0直接默认安装,一路next。完成后windows+r打开运行窗口,输入CMD。然后输入node -v 检测是否安装成功(-v不行就-verson)成功后,npm自动也会安装,npm -v继续检测,出现版本表示安装成功。2.然后重头戏来了安装Cordova 首先开一个代理不然那速度你会疯的
转载
2023-12-19 23:05:29
69阅读
1.环境搭建 node -v # 查看 Node.js 当前版本 npm -v # 查看 Npm 当前版本 2.设定淘宝提供 Npm 源镜像 # 设置淘宝源 npm config set registry https://registry.npm.taobao.org npm config set ...
转载
2021-05-23 13:58:33
1471阅读
点赞
2评论
为了更好地在angular2 里面对JSON 数据进行处理。我们可以添加lodash模块来更加简便我们的工作这里我简单介绍一下如何安装lodash 到angular2前提:01 这里默认已经安装了node.js。02 默认typescript 版本>2.0 eg "typescript": "^2.0.3",03 默认已经创建angular2 npm 架构的项目1 通过npm 安装lodas
原创
2016-11-15 06:25:52
5177阅读
错误消息:ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.Please delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.这是因为我之前是以 development 模式对我的 Angu
原创
2022-02-28 18:33:59
304阅读
错误消息:ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.Please delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.这是因为我之前是以 development 模式对我的 Angu
原创
2021-10-19 15:08:30
200阅读
Create an app with routing config: If you want to generate a new module with routing , you can also do: Define env variable: You can create a custom e
转载
2017-03-23 21:48:00
252阅读
2评论
1. Installl latest @angular/cli: The version I used is:6.0.0-rc.10 2. Create a new application: 3. Install material and cdk packages: Here need to add
转载
2018-05-03 19:43:00
288阅读
2评论
相关链接angular视频课:https://www.bilibili.com/video/BV1iJ411F7Bf?p=3angular文档:https://angular.cn/guide/setup-localng-zorro-antd文档:https://ng.ant.design/docs/getting-started/zh 主要内容1. 安装Node.js以使用npm命令,
转载
2023-07-04 14:19:38
151阅读
写在最前面 首先是我的目录结构 你要新建的是Dockerfile和nginx-angular.confDockerfile在 Angular 项目的根目录下面创建一个 Dockerfile 文件,内容如下#设置一个基本的镜像,FROM 后面是镜像的名字,这个镜像是 Docker 官方提供的,这个镜像里面包含了 Node.js,可以在node后跟冒号 申明东镜像版本。as builder 是给它起了
转载
2024-08-01 08:23:50
93阅读
root@basic-services:~# npm -lUsage: npm <command>where <com
原创
2023-03-02 16:20:30
1471阅读
Compile time configuration options allow you to provide different kind of settings based on the environment you're building the Angular app for. You m
转载
2018-01-23 19:19:00
215阅读
2评论
Install: Create a project: Run the project: Change the port: Create a component: The component will be created in src/app/contact-list-component. Gene
转载
2016-07-20 02:19:00
247阅读
2评论
1.设置代码结构 index.html放在外围 templates 包含 tabs.html 及 所有视图 2.为了便于修改 api 接口,在config.js 中 使用常量(EVN),标记所有接口 3.app.js 设置平台 $ionicPlatform 定义抬头 $httpProvider.de
转载
2017-01-03 21:47:00
119阅读
2评论
It always again happens (especially in real world scenarios) that you need to configure your Angular app at runtime. That configuration might be fetch
转载
2018-01-23 02:43:00
186阅读
2评论
To define an Angular Animation, we using DSL type of language. Means we are going to define few animations ('fadeIn', 'fadeOut'). Then we need to defi
转载
2017-07-26 02:26:00
352阅读
2评论