How to configure the reference root directory in webpack by sass-loader

scss, is used in the vue project and then there is a global scss file, but when referencing, you always have to use relative positioning to successfully refer to it. You can"t see why when you look at sass-loader documents. I"d like to ask ~ ~ how to be like vue. @ represents the src directory
clipboard.png

.
Mar.02,2021

webpackalias:
resolve: {
    extensions: ['', '.js', '.vue'],
    fallback: [path.join(__dirname, '../node_modules')],
    alias: {
      'src': path.resolve(__dirname, '../src')
    }
  },
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36505-2bfe7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36505-2bfe7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?