BodyShape
BodyShape - Fitness, Workout & Gym VueJS Template
Thank you for purchasing this VueJS template.
Package Installation & Setup -
1.- Install npm
It will create 'node_module' folder in this all dependency files will be install with this command.
npm install
npm install
2.- Run Project
With is command file will be compiled and it will be loaded on local server `http://localhost:5173/`.
npm run dev
npm run dev
3.- Production Build
You may run npm run build-only
command to build the app.
npm run build-only
4.- Testing the App Locally
Once you've built the app, you may test it locally by running npm run preview
command
npm run preview
5.- Deploying your site
For More details Click
6.- Note:
To get more help on the Vue.js checkout Vue.js
To get more help on the Vite checkout Vite
7.- Further help
You can learn more in the Create Vue Application Documentation To learn Vuejs, check out the Vue Documentation.
Sass Compile -
1.- Install Node.js
To compile Sass via the command line first, we need to install node.js. The easiest way is downloading it from the official website nodejs.org open the package and follow the wizard.
2.- Initialize NPM
NPM is the Node Package Manager for JavaScript. NPM makes it easy to install and uninstall third party packages. To initialize a Sass project with NPM, open your terminal and CD (change directory) to your project folder.
npm init
Once in the correct folder, run the command npm init
. You will be prompted to answer several questions about the project, after which NPM will generate a package.json
file in your folder.
3.- Install Node-Sass
Node-sass is an NPM package that compiles Sass to CSS (which it does very quickly too). To install node-sass run the following command in your terminal: npm install node-sass
npm install node-sass
4.- Write Node-sass Command
Everything is ready to write a small script in order to compile Sass. Open the package.json file in a code editor. You will see something like this:
In the scripts section add an scss command
"scripts": { "sass": "node-sass --watch src/scss/main.scss src/assets/css/style.css --source-map src/assets/css/style.css.map" },
5.- Run the Script
To execute our one-line script, we need to run the following command in the terminal: npm run sass
npm run sass
Folder Directories -
-
images
This folder contains all the images of Swigo template.
-
fonts
This folder font files for various template features.
-
css
This folder contains all the CSS files of Swigo template.
-
component
This folder has all component files.
-
views
This folder has all pages files.
-
router
This folder has all router.
Credits -
-
Vuejs
-
Vite
-
Google fonts are used in the template.
-
Font Awesome
-
Images are used
-
Router
-
Swiper Slider
main.ts Structure
import './assets/css/style.css' import { createApp } from 'vue' import App from './App.vue' const app = createApp(App) app.use(router) app.mount('#app')
Create a Page
<script> // import library here if required </script> <template> // write code here <div class="demo"> <h1>This is an demo page</h1> </div> </template> <style> / write css here if required / .about { min-height: 100vh; display: flex; align-items: center; } </style>
Our Products -
Do You Need Help To Customization
After Purchase A Template...
You Will Start Customizing According Your Requirement
BUT What If You Don't Know
SOLUTION IS HIRE DexignZone
Hire Same Team For Quality Customization
- In Order To Ensure Your Website Is Live, We Will Customize
The Template According To Your Requirements And Upload It to the Server.