Giter Site home page Giter Site logo

birajmainali / crypted-vue-route Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 4.0 181 KB

Crypted Vue Route is a library to encrypt and decrypt your routes in Vue 3

Home Page: https://crypted-vue-route-xbxs.vercel.app/

HTML 1.74% Vue 66.19% JavaScript 19.05% CSS 13.01%
vue-route crypted-vue-route

crypted-vue-route's Introduction

Crypted Vue Route

This template should help get you started developing with Vue 3 in Vite.

Dependencies

  • Vue : This library is directly depended on Vue3

Installation

npm

npm i crypted-vue-route

yarn

yarn add crypted-vue-route

[https://www.npmjs.com/package/crypted-vue-route]

It is important to set up your project with Vue Router because this library externalizes the routing functionality, providing flexibility to customize and add your own version of routes

Basic Usage

<script setup>
    import {useCryptedRoute} from "crypted-vue-route";
    const {setRouteData, getRouteData, route, router, state: filterState} = useCryptedRoute();
    const onSubmit = async () => {
    await setRouteData(filterState.value);
};
</script>

<template>

    <main>
        <input type="search" v-model="filterState.username"/>
        {{ filterState.username }}
        <button @click.prevent="onSubmit">CLick!</button>

</main>
</template>

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

crypted-vue-route's People

Contributors

birajmainali avatar rehmatfalcon avatar sandip124 avatar shikhabista avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

crypted-vue-route's Issues

3 Warning, 1 Error

image

Can you check if I did the right step by step process

  1. npm init vite@latest crypted-vue-route --template vue
  2. cd .\crypted-vue-route\
  3. npm i crypted-vue-route
  4. Then I've copied the code from the markdown
  5. npm run dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.