ms-breadcrumb
v0.0.7
Published
Vue breadcrumb component
Downloads
21
Readme
Breadcrumb Component project
- Breadcrumb vue component
Requirements
Node version >= 6.2
Install dependencies
npm i- Start the development. This will command will start the development server builds, automatic testing and linting.
npm start- Open
http://localhost:8080/in a browser.
How to use
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vue breadcrumb component</title>
<link rel="stylesheet" href="OUR_TRANSPILED_STYLES.css" />
</head>
<body>
<div id="ms-breadcrumb"></div>
<script src="OUR_TRANSPILED_SCRIPT.js"></script>
</body>
</html>import Render from 'ms-breadcrumb';
const breadcrumbs = [
{ active: false, name: 'Home', url:'Home' },
{ active: true, name: 'Products', url:'Products' },
];
new Render({
elementToRender: '#ms-breadcrumb',
breadcrumbs,
});
Publish the release of a package
Release a new version of the package:
npm run release:patchor
npm run release:minoror
npm run release:major