0
Hello, tell me how to connect another language file? I do as usual in laravel, the system determines, but does not allow me to choose.
In the en file.json I change the names of the fields, but the changes are not displayed, how can I fix it?
0
Hello,
The language change will be updated in the next release. Now you can add language by following these stes
lang/en.json
to your language and translatelang/languages.json
and add your language entryresources/js/Core/i18n.js
and import your language file (no need from beta.2)npm install && npm run build
Thank you
0
I did everything according to the instructions, the changes did not take effect (when trying to change the headers in the "en.json" file and executing the command "npm install && npm run build" doesn't work).
So when making 4 points, an error appears:
Could not resolve entry module "index.html".
error during build:
RollupError: Could not resolve entry module "index.html".
at error (file:///Users/aico/Sites/localhost/tptis_sklad/node_modules/rollup/dist/es/shared/rollup.js:2091:30)
at ModuleLoader.loadEntryModule (file:///Users/aico/Sites/localhost/tptis_sklad/node_modules/rollup/dist/es/shared/rollup.js:23346:20)
at async Promise.all (index 0)
0
In the "resources" folder, I renamed the folder with JS files and performed step 4 and still without changes ... I can't figure out what's wrong! Screenshot attached: https://ibb.co/3kwZxhF
0
Everything is located at: http://wh.2113.pro/login ([email protected] / admin)!
And when adding "Add New Checkout" or "Add New Checkin" a 500 error occurs.
0
Item 4 from the list does not work, if you clear the template cache, then files are deleted from the "public/build" folder, and when the "npm install && npm run build" command is executed, the assembly does not occur, i.e. the software product (templates and language files work from the cache). How can you fix it?
Manage Checkins & Manage Checkouts when applying, it gives out a 500 error, installed it again from the archive, how to fix this error?
0
To do the build, you need the "vite.config.js" file, and it is not in the root of the application!
0
Solution (not complete)
It turned out to fix the error as follows:
npm i @vitejs/plugin-vue
Open vite.config.js and write the vue() function before Laravel:
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue"; //add this line
import laravel from "laravel-vite-plugin";
export default defineConfig({
plugins: [
vue(), // write this
laravel({
input: ["resources/js/app.js"],
refresh: true,
}),
],
});
Further, since the project uses tailwind, we need to do:
We need to install tailwind and its dependencies (PostCSS and auto prefix).
npm install -D tailwindcss postcss autoprefixer
Generate Tailwind and publish CSS configuration files:
npx tailwindcss init -p
Write the following instructions:
/** @type {import('tailwindcss').Config} /
module.exports = {
content: [
"./resources/views/.blade.php",
"./resources/js/*.js",
],
theme: {
extend: {},
},
plugins: [],
}
And only after that we perform the following steps:
Now all the components are assembled and the language files are picked up, as well as the changes themselves, the error during assembly has also gone away. Also, when performing all manipulations, an error with Icons appeared.vue, to solve it, I had to go to the folder "resources/js/app.js "
and changed the connection "import Icons from '@/Shared/Icons.vue';"
All the above manipulations did not correct the error when registering the goods, as there was a 500 error, and it remained. How to fix it I do not understand and I would like help from the author of the application!!!
P.S. I have one so!?
0
Hello,
There is no need to install dependencies separately. If you check the package.json
file these should be in the devDependencies
list and npm install
should install the dev dependencies too.
Thank you
1
I will check for the vite.config.js
file and thank you for sharing the icons wrong import. I will fix it in the next beta update.
0
Well, what to do with the 500 error when placing an order (Both by the buyer and the supplier)?!??
It's just the very essence of the accounting application, but it turns out this function does not work ...
Fill screen: https://ibb.co/SNjHpks and the error screen: https://ibb.co/zVWNF2z
Showing 1 to 10 of total 14 records
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.