I want to create a JavaScript project Ionic 4, but there is no command to do that, so what I can do to make new Ionic 4 JavaScript project? Thanks
-
So do you want to make an ionic project without angular or what are you asking?Nils Kähler– Nils Kähler2019-03-07 19:22:55 +00:00Commented Mar 7, 2019 at 19:22
-
yes I want to make ionic project with vanilla JavaScriptRiyad Khalifeh– Riyad Khalifeh2019-03-08 03:39:09 +00:00Commented Mar 8, 2019 at 3:39
-
@Riyad Khalifeh You could import the vanilla Javascript into the Angular based project like Ionic but it's a bad practice, but sometimes it will save you much time, do it when necessary only.Snowbases– Snowbases2019-06-14 14:43:49 +00:00Commented Jun 14, 2019 at 14:43
Add a comment
|
1 Answer
you can inject the dependencies directly in your index.html , as you can see in the official doc:
<script src="https://unpkg.com/@ionic/core@latest/dist/ionic.js"></script>
<link href="https://unpkg.com/@ionic/core@latest/css/ionic.bundle.css" rel="stylesheet">