Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified examples/favicon.ico
Binary file not shown.
6 changes: 6 additions & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<title>Vue.js Toast Notification - Demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Toast notification plugin for Vue.js">
<!-- relative path to favicon source file -->
<link href="./favicon.ico" rel="icon" />
<!-- relative path to SCSS source file -->
<link href="./index.scss" rel="stylesheet" />
<!-- relative path to JS source file -->
<script src="./index.js" defer="defer"></script>
</head>
<body class="bg-light">
<div id="app">
Expand Down
6 changes: 0 additions & 6 deletions examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@

import {createApp} from 'vue';
import ToastPlugin from '../src/index';

import 'bootstrap/dist/css/bootstrap.min.css';
//import '../src/themes/default/index.scss';
//import '../src/themes/sugar/index.scss';
import '../src/themes/bootstrap/index.scss'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

specify source SCSS files directly in HTML


import App from './App.vue';

const app = createApp(App);
Expand Down
5 changes: 5 additions & 0 deletions examples/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// by importing CSS file with `@use` the `.css` extensions must be commited
@use 'bootstrap/dist/css/bootstrap.min';
//@use '../src/themes/default/index.scss';
//@use '../src/themes/sugar/index.scss';
@use '../src/themes/bootstrap/index.scss';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.0",
"html-bundler-webpack-plugin": "^4.1.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.9.1",
Expand Down
Loading