i have mixin folder with some files inside the src folder of quasar
i have files that present inside the folder with a long path
when i want to access the mixin from the file i have to mention long parent path notation in the import statement
if i have short method like ‘@’ symbol to access the ‘src’ folder directly from any file, i am very happy to use quasar
i have this method in previous projects with vue and other vue templates
Best posts made by Hariprasath
-
Access files in the root with simple method
-
RE: Access files in the root with simple method
OK Thank you very Much i got the result
Just Includecfg.resolve.alias = { ...cfg.resolve.alias, '@': path.resolve(__dirname, './src') }
at
extendWebpack (cfg)
function under build object and add
var path = require('path')
at top of the page
Latest posts made by Hariprasath
-
RE: q-upload dynamic url
<q-uploader hide-upload-button auto-expand ref="files_uploader_cb" float-label="City Beauty" align="left" :multiple="true" :url="file_upload_url_cb" :headers="{ 'X-CSRF-TOKEN': $store.state.CSRF }" method="POST" @uploaded="uploaded_cb" @add="add_cb" @remove:cancel="removeCancel_cb" @start="start_cb" @finish="finish_cb" :clearable="true"/> computed: { file_upload_url_cb () { return '/participant/' + this.participant_id + '?type=city_beauty' } }
file_upload_url_cb computed property is used to get the URL for uploading the files
this.participant_id will have the participant id who will get the file, it will change based on user iteraction -
RE: Access files in the root with simple method
OK Thank you very Much i got the result
Just Includecfg.resolve.alias = { ...cfg.resolve.alias, '@': path.resolve(__dirname, './src') }
at
extendWebpack (cfg)
function under build object and add
var path = require('path')
at top of the page
-
Access files in the root with simple method
i have mixin folder with some files inside the src folder of quasar
i have files that present inside the folder with a long path
when i want to access the mixin from the file i have to mention long parent path notation in the import statement
if i have short method like ‘@’ symbol to access the ‘src’ folder directly from any file, i am very happy to use quasar
i have this method in previous projects with vue and other vue templates -
Build into single folder
when building the quasar it creates separate folder for css, js, static and images & also it creates index.html file
but i want to create index.html file and all other folders should be created inside the folder like “assets” near the index.html -
RE: Quasar imports
Sorry for late replay, i know its too long to view the replay
but the given link is not working -
q-upload dynamic url
i want to change the url of q-upload based on some process done by user in the page,
but when i change the url with computed property its not working, it still the same initial value when the page opens -
Quasar imports
where i can find all available imports of quasar
like date, Actionsheet, AppFullScreen, AppVisibility
and its documents