I create an pure Ionic 2 project with the command.
ionic start myIonic --v2
The pure project work great, but when I compared the project structure with angularJS 2, I found the "systemjs.config.js" is missing.
My question is could "systemjs.config.js" file be replaceable?
If the answer is positive, what is the alternative file in Ionic2 based project ?
i have created a angularjs 2 based poject using angular2-cli using below command.
ng new PROJECT_NAME
when i create the project using angular2 cli, then also its not creating systemjs.config.js file.
link for angular2 cli new app .
And Systemjs.config.js file is creating in angular2 project only if i create quick start application, that too we are only creating manually. as given in official quick start document.
link for angular2 quick start app.
So using this 2 examples we can believe that systemjs.config.js file can be replaceable.
The angular-cli and ionic moved the build system from SystemJS to Webpack.
For angular
npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli#latest
Full angular-cli migrate docs: https://github.com/angular/angular-cli/wiki/Upgrading-from-Beta.10-to-Beta.14
Related
kindly we need to build my created app with static bundle how I can do it with the react-react-app template.
Best Regards
According to this it will be sufficient to run
npm run build
if you've created your react app using create-react-app.
I have not checked it.
A second way would be to use webpack as a third party tool.
I have an existing react application built with create-react-app version 2. I understand that I'll either have to eject it or use a tool like nwb to publish it to npm.
Could someone tell me if I can use npm on an existing project. From reading the docs it seems I have to create a new project using the command 'nwb new react-app nwb-thinking-in-react''. But if I already have a project can I just publish using nwb or would I have to copy my files into the newly created project created by the nwb new react-app nwb-thinking-in-react'command .
If you could also tell me how I would achieve the above using a project written in TypeScript, thanks
Thanks for your help.
I have one angularjs 2 UI (without node modules) which i have to integrate with my backend. After installing Angular cli, Can i simply do npm install in the angularjs 2 directory folder as it have package.json or create a new app after installing angular cli and then do npm install for some node modules specific to my angularjs project.
Will the first approach Work successfully as it is easier
If your backendend and frontend repos are in same package.json just serve your app. You can separate these ( in the future it will be more effective ) . So just search your starting command and run the app.
I'm learning Ionic 2 after I learned Ionic 1 for the past 2 weeks. In the weeks I learned Ionic 1 I made a app with a calendar with a plugin. I did the code of the calendar plugin in the www/lib folder.
But now by Ionic 2 the file structure is different and does someone know where I have to put the *.js and the *.css files into for that calendar plugin?
if your plugin is npm library, install using command npm install package-name inside the project folder. If it is not an npm package, follow the steps from link to get it done.
Hello i purchased a template this afternoon, previously what i used to do whenever i bought a template was to copy the js,image,font and css folders into my project and start using but this particular template i bought was very confusing for me.
I ended up having to install npm and use bower install to download the various packages, however this is my first time using bower install so i'm a bit confused as to what to do next. "bower install" created a new folder inside my template folder called "bower_components".
I would like to know what i need to do next to be able to use this template to develop my app, below is a screenshot of my theme's folder structure:
I am building my app using Laravel 5 on the backend and AngularJS on the front-end.