跳转到主要内容

Ember

import { PagesBuildPreset, Render } from "~/components";

Ember.js is a productive, battle-tested JavaScript framework for building modern web applications. It includes everything you need to build rich UIs that work on any device.

Install Ember

To begin, install Ember:

npm install -g ember-cli

Create an Ember project

Use the ember new command to create a new application:

npx ember new ember-quickstart --lang en

After the application is generated, change the directory to your project and run your project by running the following commands:

cd ember-quickstart
npm start

Deploy with Cloudflare Pages

<Render file="deploy-to-pages-steps-with-preset" product="pages" params={{ name: "Ember.js" }} />

After deploying your site, you will receive a unique subdomain for your project on *.pages.dev.

Every time you commit new code to your Ember site, Cloudflare Pages will automatically rebuild your project and deploy it. You will also get access to preview deployments on new pull requests and be able to preview how changes to your site look before deploying them to production.

For the complete guide to deploying your first site to Cloudflare Pages, refer to the Get started guide.

<Render file="framework-guides/learn-more" product="pages" params={{ one: "Ember" }} />