It’s fun to use Vue 3 without NodeJS, CLI, NPM, or Webpack! Simple and Easy! Let’s see what needs to be done to use vue-simple-calendar (https://github.com/richardtallent/vue-simple-calendar) Add the following reference to index.html: (download from https://unpkg.com/vue-simple-calendar@6.0.0-b3/static/css/) <link rel=”stylesheet” href=”assets/css/style.css” /> <link rel=”stylesheet” href=”assets/css/default.css” /> <link rel=”stylesheet” href=”assets/css/holidays-us.css” /> <script src=”https://unpkg.com/vue-simple-calendar@6.0.0-b3/dist/vue-simple-calendar.umd.js” ></script> Add the references to your component as shown below: const Home = { components: { “calendar-view”: window.CalendarView.CalendarView, “calendar-view-header”: window.CalendarView.CalendarViewHeader }, setup() { const showDate = ref(new Date(‘3/15/2021’)); const setShowDate = (d) => { console.log(“Called!! “, d) showDate.value = d; } return { name: “Hi Agami”, showDate, setShowDate }; }, template: html` <div> <h1>{{ name }}</h1> <calendar-view :show-date=”showDate” class=”theme-default holiday-us-traditional holiday-us-official”> <template #header=”{ headerProps }”> <calendar-view-header :header-props=”headerProps” @input=”setShowDate” /> </template> </calendar-view> </div> <h2>Ends Here</h2> `, }; export default Home; That’s …
VueJS
What is PWA ?
PWA stands for Progressive Web Application. PWA is basically a website that runs on your mobile browser. But when you see the UI, it is similar to any app. Normally, when you want to create an app, you have to develop apps for different platforms. Like making apps for the IOS platform and putting them in the app store Or make an app for Android and put it on google play, Similarly, make an app for windows then put it …
Write your first Vuejs app with Typescript
While there are so many Javascript frameworks are available , there is well known javascript progressive framework named as VueJS and it is getting huge popularity among developers because of its small size. The size of this framework is 18–21KB and it takes no time for the user to download and use it. You can compare it with others available frameworks on google. This blog is not about telling advantages of using vue but setting up your first vue project …