- ← К таблице токенов
+ ← К таблице токенов
);
diff --git a/docs/src/components/pages/Tokens/TokensHeader.tsx b/docs/src/components/pages/Tokens/TokensHeader.tsx
index b5bd24766..38c04ff37 100644
--- a/docs/src/components/pages/Tokens/TokensHeader.tsx
+++ b/docs/src/components/pages/Tokens/TokensHeader.tsx
@@ -45,7 +45,7 @@ const TokensHeader: FC = () => {
-
+
Документация
diff --git a/docs/webpack/webpack.client.mjs b/docs/webpack/webpack.client.mjs
index 7fc5e6b41..3fd9ca963 100644
--- a/docs/webpack/webpack.client.mjs
+++ b/docs/webpack/webpack.client.mjs
@@ -60,6 +60,7 @@ export default function (env, argv) {
}),
new HtmlWebpackPlugin({
template: './public/index.html',
+ publicPath: '/vkui-tokens/'
}),
new WebpackNotifierPlugin({ alwaysNotify: false }),
new CopyWebpackPlugin({
@@ -82,6 +83,13 @@ export default function (env, argv) {
hot: true,
open: true,
historyApiFallback: true,
+ proxy: [
+ {
+ context: ["/vkui-tokens/assets"],
+ target: "http://localhost:3000",
+ pathRewrite: { "^/vkui-tokens/(.*)": "/$1" },
+ },
+ ]
},
};
};