Skip to content

HoneyMan123/RickAndMortyApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

TO START THIS PROJECT: npm install TO ADD DOCKER: docker build -t vuejs-app . and to run docker project you need to use:docker run -it -p 8080:80 --rm --name vuejs-app-1 vuejs-app IF you want to use WEBVIEW YOU NEED TO INSTALL ANDROID STUDIO and change your files like that: activity_main.xml:

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

MainActivity.kt: package com.example.myapplication

import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.webkit.WebView

class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main)

    val vueApp = findViewById<WebView>(R.id.myVueAPP)
    vueApp.settings.javaScriptEnabled = true
    vueApp.settings.allowFileAccess = true
    vueApp.settings.allowContentAccess = true
    vueApp.settings.domStorageEnabled = true
    vueApp.loadUrl("http://192.168.1.145:8080/")
}

} AndroiManifest.xml:

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published