This repository holds the guides and tutorials for the Ember CLI, a powerful tool that helps you create, develop, and build an Ember app.
To contribute to the API documentation itself, which lists properties and methods used by addons and apps, instead visit Ember CLI, where the API docs are managed as code comments within the codebase.
This project replaces, updates, and adds to the content historically hosted at https://ember-cli.com/.
Looking for repositories for the other parts of emberjs.com?Check outguides-source,website,ember-api-docs,super-rentals tutorial,statusboard,deprecation-app,and styleguide.
You will need the following things properly installed on your computer.
The Ember CLI Guides is a normal Ember application, so if you want to run it locally you follow the standard steps:
cd cli-guides-source
npm install
npm start
Note: If you are developing in any online editor environment like codesandbox.io or gitpod.io, then you may not able to serve the application properly because of FastBoot's domain configurations. In such cases, you can disable fastboot in development mode by serving the ember app using FASTBOOT_DISABLED=true ember serve
command.
If you then edit the Markdown files located in the guides/
folder yourapplication should live-update with the content changes.
To run the tests you can run npm run lint:md
and npm test
in your terminal. npm run lint:md
will spellcheck and enforce consistency in the Markdown files. npm test
will run Ember tests that have been setup and also scripts that check the Markdownfiles links.
Markdown linting (lint:md
) must pass. Otherwise, it will fail in CI (continuous integration). Spellchecking uses a custom ember-dictionary with words and terms common to the Ember community, such as SemVer
. Words and terms that are associated with a specific guide can be placed in the .local.dic
dictionary file. Create a pull request if a word needs to be added to ember-dictionary
.
The guides content is in the form of Markdown files in the guides directory. An Ember app processes and serves the Markdown files. If you look at the app
directory, you'll see there's not much in it! That's because most of the work is done through a dependency on guidemaker, a static site generator created in Ember.
The API docs are built from the ember-cli
source code. Deployment and hosting details can be found in the ember-cli.github.io
repository.
Do you know a thing or two about the CLI or addons? Do you wish you knew a thing or do? We'd love to have your help with writing or reviewing to make sure that content is helpful to all knowledge levels. To learn more about the motivation for this, read this RFC. If you're new to writing Markdown, follow this cheat sheet.
Overall project status and tasks that need help are tracked in this Quest issue. Have a read through that and the CONTRIBUTING.md file in order to get started.
See pages.yaml
in the cli-guides-source. Whatever has a URL of index
will be shown for the top level path, like /tutorial/
. There must be an index.md
under each topic.
The app is continuously deployed to Netlify when a pull request is merged and passes continuous integration.
一.vue-cli脚手架 Vue CLI 是一个基于 Vue.js 进行快速开发的完整系统,提供: 通过 @vue/cli 实现的交互式的项目脚手架。 通过 @vue/cli + @vue/cli-service-global 实现的零配置原型开发。 一个运行时依赖 (@vue/cli-service),该依赖: 可升级; 基于 webpack 构建,并带有合理的默认配置; 可以通过项目内的配置文
说明 此为vue-cli webpack的配置分析,其实只是在源码中加上注释而已。大家查看详细分析,可以从后面提到的入口文件开始查看。 分析不包括check-versions.js文件,因为check-versions.js是检测npm和node版本,不涉及webpack,所以就没有对check-versions.js进行分析。同时,也不包括测试部分的代码,该分析只是针对开发和生产环境的webpa
vue-cli cdn 方式引入 Vue 模块 前言 如果你只是想快速配置 cdn,可以直接看快速配置篇。 Chrome 将于不久后默认开启 限制子资源在私有网络的分发 策略,它会导致非 https 协议无法使用第三方外链,这将导致开发环境无法使用 cdn。这个策略我在测试时对 CSS 样式表无效。 这个安全策略开启后,你可能会在未来遇到这个错误: 我当前是 Chrome 91,可以在 Chrom
1、脚手架版本 vue-cli 2.8.1 2、配置文件 package.json 功能:在 package.json 中,可以找到开发和生产环境的入口 "scripts": { "dev": "node build/dev-server.js", // 开发环境入口 "build": "node build/build.js" // 生产环境入口 } 3、开发环境 build/de
该webpack版本号为3.6.0 这段时间以来,项目一直都是用Vue全家桶及vue-cli,于是便把vue-cli配置文件给整理了以下,希望对大家能有所帮助。 一:文件的配置结构如下 ├─build │ ├─build.js │ ├─check-versions.js │ ├─logo.png │ ├─utils.js │ ├─vue-loader.conf.js │ ├─webpack
说明 此仓库为vue-cli webpack的配置分析,其实只是在源码中加上注释而已。大家查看详细分析,可以从后面提到的入口文件开始查看。 分析不包括check-versions.js文件,因为check-versions.js是检测npm和node版本,不涉及webpack,所以就没有对check-versions.js进行分析。同时,也不包括测试部分的代码,该分析只是针对开发和生产环境的web
功能描述 把某个系统中的几个vue页面需要供给多个系统使用,所以需要对公共的vue页面进行打包发布到npm仓库,其他系统工程通过npm install导入进行使用 工程示例 |-- src | |-- App.vue # 根组件 | |-- main.js # 入口js文件 | |--
问题 在linux 上安装 RabbitMQ 后, 新增账号,执行: sudo ./sbin/rabbitmqctl add_user user_name password 报错如下所示: Error: unable to perform an operation on node 'rabbit@localhost'. Please see diagnostics information
fis. cli 命令行相关的信息和工具类方法暴露在此模块中。 Source: cli.js, line 1 Members (static) colors 指向 colors 模块。 Source: cli.js, line 20 (static) info package.json 中的信息 Source: cli.js, line 30 (static) name 命令行工具名字 Defau
Run Prettier through the CLI with this script. Run it without any arguments to see the options. To format a file in-place, use --write. You may want to consider committing your code before doing that,
命令行界面(CLI)可用于创建我们的Angular JS应用程序。 它还有助于为应用程序创建单元和端到端测试。 Angular CLI的官方网站是https://cli.angular.io/ 如果单击“启动”选项,您将被定向到CLI的github存储库https://github.com/angular/angular-cli 现在让我们看一下使用Angular CLI可以做的一些事情。 安装C
Angular CLI使您可以轻松地开始使用任何Angular项目。 Angular CLI附带的命令可以帮助我们快速创建和启动项目。 现在让我们来看看可用于创建项目,组件和服务,更改端口等的命令。 要使用Angular CLI,我们需要在我们的系统上安装它。 让我们使用以下命令 - npm install -g @angular/cli 要创建新项目,我们可以在命令行中运行以下命令,然后将创建
在本章中,我们将了解CLI如何在Grav中工作。 CLI代表存储在bin/Grav命令行界面。 它执行一些任务,例如clearing cache ,创建backup副本等。 在不同平台上访问CLI是不同的。 在Windows上,您可以通过cmd访问,在Mac上可以通过Terminal访问,在Linux上可以使用shell。 在Windows中,您不能使用UNIX样式命令。 要使用它们,只需安装提供
概述 为了帮助用户管理他们的项目,已经创建了 CLI 工具。它同时在很多方面都有帮助,从搭建项目到构建结构良好的应用程序。嵌套CLI基于 @ angular - devkit 软件包。此外,还有专门用于嵌套开发 @ nestjs / schematics 的特殊示意图 安装 使用 NPM 安装 CLI: $ npm install -g @nestjs/cli 使用 Docker Hub 安装CL