Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

How to convert app structure for upload to Ionic View?

$
0
0

@chipit24 wrote:

I started creating an Ionic app (about a year ago) and did not use the CLI tool to generate the structure for it.

I'm now refreshing the app and want to finish it up. However, it does not have the proper structure and files needed to upload to Ionic View. Is there a guide I can follow to restructure my app in a minimal way so it can be accepted/uploaded when I run ionic upload?


How my app is currently structured:

I use gulp to concatinate all my scripts in the features folder, and my js/app.js file and output the final file into index.js (which contains my Angular module, controllers, services, etc.). The features folder also contains my templates.


Update: I created an ionic.project file, and moved my css, features, fonts and js folders and index.html file to a www folder and was able to upload the app. However, when I go to view my app in Ionic View, it loads and simply shows a blank view.

Just a note: When I test the app locally (by loading up www/index.html) the app works just fine. My gulp tasks also move any relevant files from bower_components into my www folder (the app doesn't reference any files outside its www folder).

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>