Seting up framework7 with vuejs

im trying to use framework7 in my vue app , so i create a new vue pp

vue create myapp

after creating , i went in the project folder and installed framework7

npm install framework7

next i installed framework7-vue

npm install framework7-vue

i changed my main.js as instructed

import { createApp } from "vue";
import Framework7 from "framework7/lite-bundle";
import Framework7Vue, { registerComponents } from "framework7-vue/bundle";
import App from "./App.vue";
import "./registerServiceWorker";
import router from "./router";


const app = createApp(App);

and some framework7 layout code in my component

  <!-- Main Framework7 App component where we pass Framework7 params -->
  <f7-app v-bind="{ theme: 'auto', name: 'My App', id: 'com.demoapp.test' }">

    <!-- Left Panel with "cover" effect -->
    <f7-panel left cover>
          <f7-navbar title="Left Panel"></f7-navbar>
            <p>Here comes the left panel text</p>

    <!-- Right Panel with "reveal" effect -->
    <f7-panel right reveal>
          <f7-navbar title="Right Panel"></f7-navbar>
            <p>Here comes the right panel text</p>

    <!-- Main view-->
    <f7-view main>
        <f7-navbar title="Awesome App"></f7-navbar>
        <!-- Page content -->
          <p>Here comes main view page text</p>
        <!-- Buttons to open panels -->
            <f7-button panel-open="left">Left Panel</f7-button>
            <f7-button panel-open="right">Right Panel</f7-button>
        <!-- Button to open popup -->
        <f7-button popup-open="#my-popup">Open Popup</f7-button>

    <!-- Popup. All modals should be outside of Views -->
    <f7-popup id="my-popup">
          <f7-navbar title="Popup">
            <!-- Link to close popup -->
              <f7-link popup-close>Close</f7-link>
            <p>Here comes popup text</p>

export default {
  name: 'HomeView',

doing npm run serve without any errros

but when i run the page in the browser it has no style or framework7 functionality

what im missing ?

Hi! What is lost is the favicon.svg file. Could you share your repository link on GitHub?


 <!DOCTYPE html>
  <title>My Page Title</title>
  <link rel="icon" type="image/x-icon" href="/folder-name/favicon.ico">
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>

hi , thanx for response … but that’s just an image
it hase nothing to do with f7

You also need to import Framework7 styles, which as i see you didn’t, e.g.

import 'framework7/css/bundle`;

thanx , why it’s not been mentioned in here !