Node: 0 码力 |
231 页 |
4.00 MB
| 2 年前 3 3bc0529c9ad6a05bf35a535fa157228/p24_2.jpg)
## How does it work?
Monorepo angular-native-seed
ng serve
npm run ios
npm run android
## A Web App
Mobile app
Custom build
## N
Business as usual
Supported by {N} team 🥇
## New Shared Project
- tns create myApp --ng-shared
- cd myApp
- tns run [ios | android] <= to build {N}
- ng serve <= to build web
## New Webpack build
New Webpack build
- CLI Integration
- Call Angular CLI generator from {N} projects: ng [generate | g] name
- Override templates for component and module
ng g [component | module | pipe | service]
name
## Thank you Schematics 0 码力 |
55 页 |
1.14 MB
| 2 年前 3 第二块内容:Angular三大核心概念
Component,Module,Route
➢ 第三块内容:Angular架构特色
依赖注入、数据绑定
第四块内容:UI库
Angular-Material, Prime-NG, ng2-bootstrap, ionic
第五块内容:参考资源推荐
## 第一块:集成开发环境@angular/cli
## nodejs
## 2009 年,前端Big Bang!
## Tool @angular/cli
> ng new my-dream-app
> cd my-dream-app
> ng serve
## Angular CLI
A command line interface for Angular
GET STARTED
## @angular/cli
>npm install -g @angular/cli
>ng --version --version
>ng help
>ng new my-project1
>ng serve
## @angular/cli
命令有简化版本:ng g c User
## @angular/cli
在Windows下面,node-gyp这个包依赖于Visual Studio
node-sass这个node模块被墙掉了,原因不明
➢ 所以强烈推荐采用cnpm安装
## @angular/cli 0 码力 |
52 页 |
2.50 MB
| 2 年前 3 wikipedia.org/wiki/Printf_format_string], AngularJS: API: $interpolate [https://docs.angularjs.org/api/ng/service/$interpolate]
## Missing plurals
Some plural forms are not translated. Check plural form collectstatic
./scripts/generate-locales # If you are using Git checkout
6. Configure webserver to serve Weblate, see Running server.
## Using prebuilt appliance
1. Download the appliance and start it you are running Django 1.5 or newer, you need to set this to list of hosts your site is supposed to serve. For example:
ALLOWED_HOSTS = ['demo.weblate.org']
## See also
ALLOWED HOSTS setting documentation 0 码力 |
215 页 |
996.63 KB
| 2 年前 3 wikipedia.org/wiki/Printf_format_string], AngularJS: API: $interpolate [https://docs.angularjs.org/api/ng/service/$interpolate]
## Missing plurals
Some plural forms are not translated. Check plural form collectstatic
./scripts/generate-locales # If you are using Git checkout
6. Configure webserver to serve Weblate, see Running server.
## Using prebuilt appliance
1. Download the appliance and start it you are running Django 1.5 or newer, you need to set this to list of hosts your site is supposed to serve. For example:
ALLOWED_HOSTS = ['demo.weblate.org']
## See also
ALLOWED HOSTS setting documentation 0 码力 |
235 页 |
1009.42 KB
| 2 年前 3 wikipedia.org/wiki/Printf_format_string], AngularJS: API: $interpolate [https://docs.angularjs.org/api/ng/service/$interpolate]
## Missing plurals
Some plural forms are not translated. Check plural form collectstatic
./scripts/generate-locales # If you are using Git checkout
6. Configure webserver to serve Weblate, see Running server.
## Using prebuilt appliance
1. Download the appliance and start it you are running Django 1.5 or newer, you need to set this to list of hosts your site is supposed to serve. For example:
ALLOWED_HOSTS = ['demo.weblate.org']
## See also
ALLOWED HOSTS setting documentation 0 码力 |
242 页 |
1014.46 KB
| 2 年前 3 collectstatic
./scripts/generate-locales # If you are using Git checkout
6. Configure webserver to serve Weblate, see Running server.
#### 4.1.2 Using prebuilt appliance
1. Download the appliance and start you are running Django 1.5 or newer, you need to set this to list of hosts your site is supposed to serve. For example:
ALLOWED_HOSTS = ['demo.weblate.org']
## See also:
ALLOWED HOSTS setting documentation to change the Domain name to match your setup.
You might want to set ENABLE_HTTPS as well if you serve site over https.
Alternatively you can set the site name from command line using changesite.
## 0 码力 |
166 页 |
1.38 MB
| 2 年前 3 wikipedia.org/wiki/Printf_format_string], AngularJS: API: $interpolate [https://docs.angularjs.org/api/ng/service/$interpolate]
## Missing plurals
Some plural forms are not translated. Check plural form collectstatic
./scripts/generate-locales # If you are using Git checkout
6. Configure webserver to serve Weblate, see Running server.
## Using prebuilt appliance
1. Download the appliance and start it you are running Django 1.5 or newer, you need to set this to list of hosts your site is supposed to serve. For example:
ALLOWED_HOSTS = ['demo.weblate.org']
## See also
ALLOWED HOSTS setting documentation 0 码力 |
251 页 |
1.07 MB
| 2 年前 3 collectstatic
./scripts/generate-locales # If you are using Git checkout
6. Configure webserver to serve Weblate, see Running server.
#### 4.1.2 Using prebuilt appliance
1. Download the appliance and start you are running Django 1.5 or newer, you need to set this to list of hosts your site is supposed to serve. For example:
ALLOWED_HOSTS = ['demo.weblate.org']
## See also:
ALLOWED HOSTS setting documentation to change the Domain name to match your setup.
You might want to set ENABLE_HTTPS as well if you serve site over https.
Alternatively you can set the site name from command line using changesite. For 0 码力 |
188 页 |
1.43 MB
| 2 年前 3
|