Menu

Tree [8a498d] next-build /
 History

HTTPS access


File Date Author Commit
 .github 2021-02-07 Kadir Selçuk Kadir Selçuk [1eb4a5] Create main.yml
 docs-src 2020-07-13 Amir Momenian Amir Momenian [76f7fc] add datepicker
 scripts 2020-12-22 Amir Momenian Amir Momenian [b6725b] update template
 src 2021-01-09 Amir Momenian Amir Momenian [288bfa] start refactoring using custom-slot
 static 2020-01-06 Amir Momenian Amir Momenian [a0596e] create statuc dir
 .editorconfig 2017-07-09 nainemom nainemom [6c7b41] add .editorconfig
 .eslintignore 2020-11-14 Amir Momenian Amir Momenian [138162] refactor build process
 .eslintrc.js 2020-11-14 Amir Momenian Amir Momenian [138162] refactor build process
 .gitignore 2018-11-09 Nainemom Nainemom [41b8e7] remove package-lock from list
 .js 2021-04-10 Kadir Selçuk Kadir Selçuk [8a498d] Create .js
 .npmignore 2018-01-30 nainemom nainemom [6ce252] add public path
 .replit 2021-02-27 Kadir Selçuk Kadir Selçuk [7b10f8] Next framevuerk buils
 .whitesource 2021-02-07 whitesource-bolt-for-github[bot] whitesource-bolt-for-github[bot] [399ae4] Add .whitesource configuration file
 CHANGELOG.md 2019-11-24 nainemom nainemom [7001dc] update changelog for v3
 CONTRIBUTING.md 2018-11-10 Nainemom Nainemom [4cd265] updated
 LICENSE 2018-02-20 nainemom nainemom [4749b7] create license
 README.md 2018-11-11 Nainemom Nainemom [be2f6d] update logo source
 index.html 2021-04-10 Kadir Selçuk Kadir Selçuk [85a767] Create index.html
 package-lock.json 2021-02-27 Kadir Selçuk Kadir Selçuk [7b10f8] Next framevuerk buils
 package.json 2021-03-07 snyk-bot snyk-bot [62ef75] fix: upgrade rollup-plugin-vue from 6.0.0-beta....
 prepublish.sh 2020-11-14 Amir Momenian Amir Momenian [138162] refactor build process

Read Me

Framevuerk

Fast, Responsive, Without Dependencies, Both Direction Support and Configurable UI Framework based on Vue.js.


Setup

First of all, you should install Framevuerk and of course Vue from terminal and just follow the example and use it!

npm i vue
npm i framevuerk

And put these on your main script: (Also commonjs syntax and require is available.)

// Vue package
import Vue from 'vue'
// Framevuerk main script
import Framevuerk from 'framevuerk/dist/framevuerk.js'
// Framevuerk main style
// Also you can include this via <link rel="stylesheet"> in your template
import 'framevuerk/dist/framevuerk.css'
// Activate
Vue.use(Framevuerk)
// Initializing App
new Vue({
    el: '#app'
})

Finally you need to create your template just like this.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>My Awesome App</title>
    <link rel="stylesheet" href="path/to/your/app.css">
</head>
<body>
    <fvMain id="app">
        <!-- Your App goes here -->
    </fvMain>
  <script src="path/to/your/app.js"></script>
</body>
</html>

Customize

Framevuerk can have different language, direction, and colors based on the user's taste. To setup your custom version, you should install framevuerk-builder package.

npm i framevuerk-builder -D

And your config or list of configs array in .json file. (Also you can deliver same content via .js file and module.exports format)

{
    "config-name": "foobar",
    "direction": "ltr",
    "primary-color": "#41b883",
    "secondary-color": "#35485d",
    "danger-color": "#dd4b39",
    "warning-color": "#ef8f00",
    "info-color": "#14b0cf",
    "bg-color": "#fff",
    "header-bg-color": "#35485d",
    "sidebar-bg-color": "#3a3a3a",
    "footer-bg-color": "#3a3a3a",
    "padding": "1em",
    "transition-speed": "0.35s",
    "border-radius": "2px",
    "shadow-size": "1px"
}

Finally you can build framevuerk by this cli command. Don't forgot to put your builder command to your build or postinstall scripts. Note that use ./node_modules/.bin/framevuerk-builder instead of framevuerk-builder if you run this command manually in terminal

framevuerk-builder -d "path/to/framevuerk/source/dir" -o "path/to/receive/builded/files" -c "path/to/config/file"

# --dir, -d         path to framevuerk source folder. default: "./node_modules/framevuerk"
# --output-dir, -o  path to output files. default: "./node_modules/framevuerk/dist"
# --config, -c      path to config file. used default config if not set.

And output files goes to --output-dir directory:

  • framevuerk-foobar.js
  • framevuerk-foobar.min.js
  • framevuerk-foobar.css
  • framevuerk-foobar.min.css

You are now config your app to use Framevuerk! Let's go to use our components:
Full Documention and Demo

Contributing

Please read CONTRIBUTING.md for details.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.