Sorry, I know this has been asked but I'm still befuddled. Just getting started with Ember, built an app with CLI, works fine on localhost. Did 'ember build --env production' and uploaded dist to VPS. Blank page. /Dist files look nothing like my working files, assets missing. Index.html now looks like this:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>EmberQuickstart</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="/" />
<meta name="ember-quickstart/config/environment" content="%7B%22modulePrefix%22%3A%22ember-quickstart%22%2C%22environment%22%3A%22production%22%2C%22baseURL%22%3A%22/%22%2C%22locationType%22%3A%22auto%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%7D%2C%22APP%22%3A%7B%22name%22%3A%22ember-quickstart%22%2C%22version%22%3A%220.0.0+a150567e%22%7D%2C%22exportApplicationGlobal%22%3Afalse%7D" />
<link rel="stylesheet" href="assets/vendor-d41d8cd98f00b204e9800998ecf8427e.css" integrity="sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU= sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==" >
<link rel="stylesheet" href="assets/ember-quickstart-d41d8cd98f00b204e9800998ecf8427e.css" integrity="sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU= sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==" >
</head>
<body>
<script src="assets/vendor-e973784409d920e36a591f5bdcb274ca.js" integrity="sha256-RANULybMVVLgctdm8hi90Lxu3i4D1NgnCRhyNGz2+iQ= sha512-oKc5wn7q7jCO2SwSEsIatUBliFmps1FuLM0mxlwZId8IiUs4r6rKDIR33MnEQhDDdAOhIUKKzujNR7+ICwRUCA==" ></script>
<script src="assets/ember-quickstart-e20079f849cf2cce5c7c7acc6c82db3d.js" integrity="sha256-Ld/mwDmx8cmiYqPCi9SZ4u6c5QGHWCED7NXU5/syyBI= sha512-crdGlXECzMcX0vSMuHz15oXDwGQV3imoxJSNAPW0KYqs/jgWraLZmJr//5JGXKauEP22V+c/XsTHuCHZPaRwuQ==" ></script>
</body>
</html>
I'm clearly missing something! Do these deployments work like .NET? Thank you.
Aucun commentaire:
Enregistrer un commentaire