Version 2.10.0
Minor changes
Deprecated self.$config
in favor of docute.init(config)
method.
To upgrade, simply place your config file after docute.js
and make some small changes:
- self.$config = {
+ docute.init({
// ...
- }
+ })
Or you can directly write inline script tag in index.html
:
<script src="https://unpkg.com/docute"></script>
<script>
- self.$config = {
+ docute.init({
// ...
- }
+ })
</script>
Note: self.$config
is still supported but there will be a deprecation message, and self.$config
will be removed in next major version which is v3.0